From: Vitja Makarov Date: Sat, 11 Dec 2010 14:45:27 +0000 (+0300) Subject: runtests.py: py3k fix X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb9d94e94d58a927c798b8121fb930f324f275b1;p=cython.git runtests.py: py3k fix --- diff --git a/runtests.py b/runtests.py index d61cbcca..53818a72 100644 --- a/runtests.py +++ b/runtests.py @@ -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))