diff options
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 69bbf14..9b2466f 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -227,7 +227,7 @@ def runtest(test, generate, verbose, testdir = None): cfp.close() finally: sys.stdout = save_stdout - except ImportError, msg: + except (ImportError, test_support.TestSkipped), msg: return -1 except KeyboardInterrupt, v: raise KeyboardInterrupt, v, sys.exc_info()[2] |