Commit 3af826eb authored by Thomas Wouters's avatar Thomas Wouters

Make test_support.TestSkipped errors work the same way as ImportErrors:

mark the test as 'skipped', rather than 'failed'.
parent 323a5086
......@@ -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]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment