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())
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:
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())