We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81b9e9e commit 6c50383Copy full SHA for 6c50383
1 file changed
src/pytest_forked/__init__.py
@@ -38,7 +38,7 @@ def pytest_load_initial_conftests(early_config, parser, args):
38
)
39
40
41
-@pytest.mark.tryfirst
+@pytest.hookimpl(tryfirst=True)
42
def pytest_runtest_protocol(item):
43
if item.config.getvalue("forked") or item.get_closest_marker("forked"):
44
reports = forked_run_report(item)
0 commit comments