mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
expected failure should not trigger failfast behavior in unittest.
This commit is contained in:
parent
49899690a8
commit
0ce167277a
3 changed files with 1 additions and 8 deletions
|
|
@ -81,7 +81,6 @@ def addSkip(self, test, reason):
|
|||
"""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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue