Py compatibility test fixes
authorStefan Behnel <scoder@users.berlios.de>
Sun, 24 Apr 2011 22:24:56 +0000 (00:24 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sun, 24 Apr 2011 22:24:56 +0000 (00:24 +0200)
runtests.py
tests/run/with_statement_module_level_T536.pyx

index 791f7156a49f9f7fd307a38696befb40dbe9a90d..9f3259f879e827f0ee332631363f7131a6be0eaa 100644 (file)
@@ -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
index 122f440672169a813bb271ccf74607d22971e0c7..506c362f9e93b8d30dd0b84a7987e5e80237bfe3 100644 (file)
@@ -4,7 +4,7 @@ __doc__ = """
 >>> inner_result
 ['ENTER']
 >>> result  # doctest: +ELLIPSIS
-['ENTER', "EXIT (<...ValueError...>,...ValueError..., <traceback object at ...)"]
+['ENTER', ...EXIT (<...ValueError...>,...ValueError..., <traceback object at ...)...]
 
 >>> inner_result_no_exc
 ['ENTER']