Commit afc2a0ab authored by Stefan Behnel's avatar Stefan Behnel

better test output

parent 74745b37
......@@ -208,11 +208,11 @@ class CythonRunTestCase(CythonCompileTestCase):
def run(self, result=None):
if result is None:
result = self.defaultTestResult()
result.startTest(self)
try:
self.runTest()
doctest.DocTestSuite(self.module).run(result)
except Exception:
result.startTest(self)
result.addError(self, sys.exc_info())
result.stopTest(self)
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