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