From 1b0ffcb160d434372cf1c617d5c42e616e7152c0 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 10 Aug 2008 21:16:41 +0200 Subject: [PATCH] more readable test output --- runtests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtests.py b/runtests.py index 56811596..56f6dd5b 100644 --- a/runtests.py +++ b/runtests.py @@ -259,6 +259,7 @@ class CythonRunTestCase(CythonCompileTestCase): result.startTest(self) try: self.runCompileTest() + print('running doctests in %s ...' % self.module) doctest.DocTestSuite(self.module).run(result) except Exception: result.addError(self, sys.exc_info()) @@ -270,7 +271,7 @@ class CythonRunTestCase(CythonCompileTestCase): class CythonUnitTestCase(CythonCompileTestCase): def shortDescription(self): - return "compiling and running unit tests in " + self.module + return "compiling tests in " + self.module def run(self, result=None): if result is None: @@ -278,6 +279,7 @@ class CythonUnitTestCase(CythonCompileTestCase): result.startTest(self) try: self.runCompileTest() + print('running tests in %s ...' % self.module) unittest.defaultTestLoader.loadTestsFromName(self.module).run(result) except Exception: result.addError(self, sys.exc_info()) -- 2.26.2