Skip to content

Commit 3b68557

Browse files
blueyedMatlino
authored andcommitted
Use @pytest.hookimpl(hookwrapper=True)
Ref: pytest-dev/pytest#4562
1 parent 5f39d8e commit 3b68557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testmon/pytest_testmon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def pytest_runtestloop(self, session):
208208
for nodeid in ignored_deselected:
209209
self.report_if_failed(nodeid)
210210

211-
@pytest.mark.hookwrapper
211+
@pytest.hookimpl(hookwrapper=True)
212212
def pytest_runtest_protocol(self, item, nextitem):
213213
if self.config.getoption('testmon_readonly'):
214214
yield

0 commit comments

Comments
 (0)