prolong workaround for jython AST bug http://bugs.jython.org/issue1497

to make pytest work for post-2.5.1 jython versions
This commit is contained in:
holger krekel 2012-11-07 10:05:39 +01:00
parent eedc4242ef
commit 476d210d09
3 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
# #
__version__ = '2.3.3' __version__ = '2.3.4.dev1'

View File

@ -11,7 +11,7 @@ from _pytest.assertion import util
from _pytest.assertion.reinterpret import BuiltinAssertionError from _pytest.assertion.reinterpret import BuiltinAssertionError
if sys.platform.startswith("java") and sys.version_info < (2, 5, 2): if sys.platform.startswith("java"):
# See http://bugs.jython.org/issue1497 # See http://bugs.jython.org/issue1497
_exprs = ("BoolOp", "BinOp", "UnaryOp", "Lambda", "IfExp", "Dict", _exprs = ("BoolOp", "BinOp", "UnaryOp", "Lambda", "IfExp", "Dict",
"ListComp", "GeneratorExp", "Yield", "Compare", "Call", "ListComp", "GeneratorExp", "Yield", "Compare", "Call",

View File

@ -48,7 +48,7 @@ def main():
name='pytest', name='pytest',
description='py.test: simple powerful testing with Python', description='py.test: simple powerful testing with Python',
long_description = long_description, long_description = long_description,
version='2.3.3', version='2.3.4.dev1',
url='http://pytest.org', url='http://pytest.org',
license='MIT license', license='MIT license',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'], platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],