def startTest(self, test): # TextTestResult's impl prints as "test (module.class)" which prevents copy/paste print('{0} ... '.format(test.id()), end='', file=self.stream) unittest.TestResult.startTest(self, test)