Commit 351d69aa authored by Vitja Makarov's avatar Vitja Makarov

runtests.py: py3k fix try 2

parent eb9d94e9
......@@ -673,10 +673,8 @@ class CythonPyregrTestCase(CythonRunTestCase):
module = __import__(self.module)
if hasattr(module, 'test_main'):
module.test_main()
except unittest.SkipTest, e:
result.addSkip(self, str(e))
except support.ResourceDenied, e:
result.addSkip(self, str(e))
except (unittest.SkipTest, support.ResourceDenied):
result.addSkip(self, 'ok')
try:
......
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