From: Stefan Behnel Date: Fri, 11 Jul 2008 07:12:46 +0000 (+0200) Subject: fix test runner to correctly load the unit tests from CPython's regression test suite X-Git-Tag: 0.9.8.1~123^2~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e42ddaa8690bb1947eeb574e3c1e28ea0da04d5c;p=cython.git fix test runner to correctly load the unit tests from CPython's regression test suite --- diff --git a/runtests.py b/runtests.py index e21df3a5..50713f03 100644 --- a/runtests.py +++ b/runtests.py @@ -265,7 +265,7 @@ class CythonUnitTestCase(CythonCompileTestCase): result.startTest(self) try: self.runCompileTest() - unittest.loadTestsFromName(self.module).run(result) + unittest.defaultTestLoader.loadTestsFromName(self.module).run(result) except Exception: result.addError(self, sys.exc_info()) result.stopTest(self)