aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest/py3/_pytest/__init__.py
blob: 8a406c5c7512bb928f1909cf1f43461cb3efb64c (plain) (blame)
1
2
3
4
5
6
7
8
9
__all__ = ["__version__", "version_tuple"]

try:
    from ._version import version as __version__, version_tuple
except ImportError:  # pragma: no cover
    # broken installation, we don't even try
    # unknown only works because we do poor mans version compare
    __version__ = "unknown"
    version_tuple = (0, 0, "unknown")  # type:ignore[assignment]