From 351d69aa286a67f00da91a291108055e417f9982 Mon Sep 17 00:00:00 2001 From: Vitja Makarov Date: Sat, 11 Dec 2010 20:02:42 +0300 Subject: [PATCH] runtests.py: py3k fix try 2 --- runtests.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/runtests.py b/runtests.py index 53818a72..91c11f70 100644 --- a/runtests.py +++ b/runtests.py @@ -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: -- 2.26.2