From: Stefan Behnel Date: Sun, 24 Apr 2011 22:24:56 +0000 (+0200) Subject: Py compatibility test fixes X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=402cc4b92a58fc04228503f602576e5fa9e1d3b4;p=cython.git Py compatibility test fixes --- diff --git a/runtests.py b/runtests.py index 791f7156..9f3259f8 100644 --- a/runtests.py +++ b/runtests.py @@ -98,10 +98,11 @@ VER_DEP_MODULES = { ]), (2,6) : (operator.lt, lambda x: x in ['run.print_function', 'run.cython3', - 'run.withstat_py', 'run.generators_py', # generators, 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 # 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 diff --git a/tests/run/with_statement_module_level_T536.pyx b/tests/run/with_statement_module_level_T536.pyx index 122f4406..506c362f 100644 --- a/tests/run/with_statement_module_level_T536.pyx +++ b/tests/run/with_statement_module_level_T536.pyx @@ -4,7 +4,7 @@ __doc__ = """ >>> inner_result ['ENTER'] >>> result # doctest: +ELLIPSIS -['ENTER', "EXIT (<...ValueError...>,...ValueError..., ,...ValueError..., >> inner_result_no_exc ['ENTER']