From 402cc4b92a58fc04228503f602576e5fa9e1d3b4 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 25 Apr 2011 00:24:56 +0200 Subject: [PATCH] Py compatibility test fixes --- runtests.py | 3 ++- tests/run/with_statement_module_level_T536.pyx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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'] -- 2.26.2