diff options
Diffstat (limited to 'Lib/unittest')
-rw-r--r-- | Lib/unittest/main.py | 2 | ||||
-rw-r--r-- | Lib/unittest/result.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Lib/unittest/main.py b/Lib/unittest/main.py index 8fd23c0..35466cc 100644 --- a/Lib/unittest/main.py +++ b/Lib/unittest/main.py @@ -178,7 +178,7 @@ class TestProgram(object): testRunner = self.testRunner(verbosity=self.verbosity, failfast=self.failfast) except TypeError: - # didn't accept the verbosity or failfast argument + # didn't accept the verbosity or failfast arguments testRunner = self.testRunner() else: # it is assumed to be a TestRunner instance diff --git a/Lib/unittest/result.py b/Lib/unittest/result.py index 96d56a1..ec80e8e 100644 --- a/Lib/unittest/result.py +++ b/Lib/unittest/result.py @@ -81,7 +81,6 @@ class TestResult(object): """Called when a test is skipped.""" self.skipped.append((test, reason)) - @failfast def addExpectedFailure(self, test, err): """Called when an expected failure/error occured.""" self.expectedFailures.append( |