From afc2a0ab266de1b96d36c18a251fcd58cbf48086 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 25 May 2008 15:22:47 +0200 Subject: [PATCH] better test output --- runtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index a8b1d57f..fa7c7310 100644 --- a/runtests.py +++ b/runtests.py @@ -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: -- 2.26.2