Commit e42ddaa8 authored by Stefan Behnel's avatar Stefan Behnel

fix test runner to correctly load the unit tests from CPython's regression test suite

parent 5f5ce0d8
......@@ -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)
......
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