fix issue160 a failing setup of an xfail-marked tests should
be reported as xfail (not xpass)
This commit is contained in:
@@ -110,6 +110,7 @@ class MarkEvaluator:
|
||||
return expl
|
||||
|
||||
|
||||
@pytest.mark.tryfirst
|
||||
def pytest_runtest_setup(item):
|
||||
if not isinstance(item, pytest.Function):
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user