Skip to content

Commit

Permalink
Use @pytest.hookimpl(hookwrapper=True)
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed authored and Matlino committed May 14, 2019
1 parent 5f39d8e commit 3b68557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testmon/pytest_testmon.py
Expand Up @@ -208,7 +208,7 @@ def pytest_runtestloop(self, session):
for nodeid in ignored_deselected:
self.report_if_failed(nodeid)

@pytest.mark.hookwrapper
@pytest.hookimpl(hookwrapper=True)
def pytest_runtest_protocol(self, item, nextitem):
if self.config.getoption('testmon_readonly'):
yield
Expand Down

0 comments on commit 3b68557

Please sign in to comment.