# HG changeset patch -- Bitbucket.org # Project pytest # URL http://bitbucket.org/hpk42/pytest/overview # User holger krekel <hol...@merlinux.eu> # Date 1290535881 -3600 # Node ID 39967d4a7b5d6d4b85f3cec58cd2f831dcaa4192 # Parent d5ce992fb51029853daa89561c00fd24a881f793 fix the py version check
--- a/pytest.py +++ b/pytest.py @@ -5,7 +5,7 @@ see http://pytest.org for documentation (c) Holger Krekel and others, 2004-2010 """ -__version__ = '2.0.0.dev34' +__version__ = '2.0.0.dev35' __all__ = ['main'] from _pytest.core import main, UsageError, _preloadplugins --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def main(): name='pytest', description='py.test: simple powerful testing with Python', long_description = long_description, - version='2.0.0.dev34', + version='2.0.0.dev35', url='http://pytest.org', license='MIT license', platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'], --- a/_pytest/core.py +++ b/_pytest/core.py @@ -8,7 +8,7 @@ import inspect import py from _pytest import hookspec # the extension point definitions -assert py.__version__.split(".")[:2] >= ['2', '0'], ("installation problem: " +assert py.__version__.split(".")[:2] >= ['1', '4'], ("installation problem: " "%s is too old, remove or upgrade 'py'" % (py.__version__)) default_plugins = ( _______________________________________________ py-svn mailing list py-svn@codespeak.net http://codespeak.net/mailman/listinfo/py-svn