Commit Diff


commit - 096e2aca6c6baea1bfe8023712a9ed5cca3cdec4
commit + a34d60512923eb98e430ef72ad79aa1cd701c3a7
blob - 6808b548e4f50ad2155271235aea6670b54d4b0e
blob + 80d214269a4781a5077edb5a3803bc316addbdc8
--- unreliablefs/tests/conftest.py
+++ unreliablefs/tests/conftest.py
@@ -9,7 +9,7 @@ import re
 # example, if a request handler raises an exception, the server first signals an
 # error to FUSE (causing the test to fail), and then logs the exception. Without
 # the extra delay, the exception will go into nowhere.
-@pytest.mark.hookwrapper
+@pytest.hookimpl(hookwrapper=True)
 def pytest_pyfunc_call(pyfuncitem):
     outcome = yield
     failed = outcome.excinfo is not None