summaryrefslogtreecommitdiff
path: root/test/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/conftest.py')
-rw-r--r--test/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/conftest.py b/test/conftest.py
index 6e46d5d..f528189 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -14,7 +14,7 @@ import threading
# 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