From 7a6108148e93bea6c522e9d5876e3421c087f657 Mon Sep 17 00:00:00 2001
From: Stefan Behnel <scoder@users.berlios.de>
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 791f7156a..9f3259f87 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 122f44067..506c362f9 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..., <traceback object at ...)"]
+['ENTER', ...EXIT (<...ValueError...>,...ValueError..., <traceback object at ...)...]
 
 >>> inner_result_no_exc
 ['ENTER']
-- 
2.30.9