From b7ba4d4e70c3354fb8c6d006fd0e3f8165433717 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sat, 19 Mar 2011 20:13:04 +0100 Subject: [PATCH] shift version string to _pytest directory --- _pytest/__init__.py | 1 + pytest.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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())