Commit 7a610814 authored by Stefan Behnel's avatar Stefan Behnel

Py compatibility test fixes

parent 0946dfdf
...@@ -98,10 +98,11 @@ VER_DEP_MODULES = { ...@@ -98,10 +98,11 @@ VER_DEP_MODULES = {
]), ]),
(2,6) : (operator.lt, lambda x: x in ['run.print_function', (2,6) : (operator.lt, lambda x: x in ['run.print_function',
'run.cython3', 'run.cython3',
'run.withstat_py',
'run.generators_py', # generators, with statement 'run.generators_py', # generators, with statement
'run.pure_py', # decorators, with statement 'run.pure_py', # decorators, with statement
]), ]),
(2,7) : (operator.lt, lambda x: x in ['run.withstat_py', # multi context with statement
]),
# The next line should start (3,); but this is a dictionary, so # The next line should start (3,); but this is a dictionary, so
# we can only have one (3,) key. Since 2.7 is supposed to be the # we can only have one (3,) key. Since 2.7 is supposed to be the
# last 2.x release, things would have to change drastically for this # last 2.x release, things would have to change drastically for this
......
...@@ -4,7 +4,7 @@ __doc__ = """ ...@@ -4,7 +4,7 @@ __doc__ = """
>>> inner_result >>> inner_result
['ENTER'] ['ENTER']
>>> result # doctest: +ELLIPSIS >>> result # doctest: +ELLIPSIS
['ENTER', "EXIT (<...ValueError...>,...ValueError..., <traceback object at ...)"] ['ENTER', ...EXIT (<...ValueError...>,...ValueError..., <traceback object at ...)...]
>>> inner_result_no_exc >>> inner_result_no_exc
['ENTER'] ['ENTER']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment