more readable test output
authorStefan Behnel <scoder@users.berlios.de>
Sun, 10 Aug 2008 19:16:41 +0000 (21:16 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sun, 10 Aug 2008 19:16:41 +0000 (21:16 +0200)
runtests.py

index 56811596e4973f3b37955a297ec74e35889d3d93..56f6dd5bedc1c4afb3728225947e40d50a5d4470 100644 (file)
@@ -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())