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 committed Apr 13, 2019
1 parent bcd89a6 commit c0888f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testmon/pytest_testmon.py
Original file line number Diff line number Diff line change
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 c0888f0

Please sign in to comment.