Commit eb9d94e9 authored by Vitja Makarov's avatar Vitja Makarov

runtests.py: py3k fix

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