diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2019-07-04 20:06:50 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2019-07-04 20:28:37 -0300 |
commit | 8651d880a06c078d8c04ec8c99df1a05bc9826d7 (patch) | |
tree | 4eda5e89f4754c051b8205a0a4adb895210dfb14 /src/_pytest/stepwise.py | |
parent | 95824c588a333c54780e6ea82393488b6a6a81d4 (diff) | |
download | pytest-8651d880a06c078d8c04ec8c99df1a05bc9826d7.tar.gz |
Handle xfail(strict=True) properly in --step-wise mode
Fix #5547
Diffstat (limited to 'src/_pytest/stepwise.py')
-rw-r--r-- | src/_pytest/stepwise.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_pytest/stepwise.py b/src/_pytest/stepwise.py index eb4555490..a18a58573 100644 --- a/src/_pytest/stepwise.py +++ b/src/_pytest/stepwise.py @@ -72,7 +72,7 @@ class StepwisePlugin: def pytest_runtest_logreport(self, report): # Skip this hook if plugin is not active or the test is xfailed. - if not self.active or "xfail" in report.keywords: + if not self.active: return if report.failed: |