disable raise ... from ... unittest in py3 (but other syntax checks still work)
authorHaoyu Bai <baihaoyu@gmail.com>
Fri, 1 Apr 2011 09:04:36 +0000 (17:04 +0800)
committerHaoyu Bai <baihaoyu@gmail.com>
Fri, 1 Apr 2011 09:04:36 +0000 (17:04 +0800)
runtests.py

index 1a26a0c167ba1755a7f8c649bb505a277ff1882d..bea63575c41b724b1982c703a89a3c303bac29d7 100644 (file)
@@ -84,7 +84,9 @@ VER_DEP_MODULES = {
     # 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
     # to be unsafe...
-    (2,999): (operator.lt, lambda x: x in ['run.special_methods_T561_py3']),
+    (2,999): (operator.lt, lambda x: x in ['run.special_methods_T561_py3',
+                                           'run.test_raisefrom',
+                                           ]),
     (3,): (operator.ge, lambda x: x in ['run.non_future_division',
                                         'compile.extsetslice',
                                         'compile.extdelslice',