diff --git a/_pytest/__init__.py b/_pytest/__init__.py index 792d60054..c6d7f1f94 100644 --- a/_pytest/__init__.py +++ b/_pytest/__init__.py @@ -1 +1,2 @@ # +__version__ = '2.0.3.dev3' diff --git a/pytest.py b/pytest.py index baa3bb4e2..1ea232ce3 100644 --- a/pytest.py +++ b/pytest.py @@ -1,11 +1,11 @@ """ unit and functional testing with Python. """ -__version__ = '2.0.3.dev3' __all__ = ['main'] from _pytest.core import main, UsageError, _preloadplugins from _pytest import core as cmdline +from _pytest import __version__ if __name__ == '__main__': # if run as a script or by 'python -m pytest' raise SystemExit(main())