From 11a2e2a2fe439fcb1adea14f0bc8c0decf059e8c Mon Sep 17 00:00:00 2001 From: Haoyu Bai Date: Fri, 1 Apr 2011 17:04:36 +0800 Subject: [PATCH] disable raise ... from ... unittest in py3 (but other syntax checks still work) --- runtests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index 1a26a0c1..bea63575 100644 --- a/runtests.py +++ b/runtests.py @@ -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', -- 2.26.2