summaryrefslogtreecommitdiff
path: root/src/_pytest/stepwise.py
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2019-07-04 20:06:50 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2019-07-04 20:28:37 -0300
commit8651d880a06c078d8c04ec8c99df1a05bc9826d7 (patch)
tree4eda5e89f4754c051b8205a0a4adb895210dfb14 /src/_pytest/stepwise.py
parent95824c588a333c54780e6ea82393488b6a6a81d4 (diff)
downloadpytest-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.py2
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: