Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95e451a

Browse files
use pytest.hookimpl, fixes python-llfuse#82
@pytest.mark.hookwrapper is deprecated.
1 parent f4956d0 commit 95e451a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def pytest_addoption(parser):
3838
# example, if a request handler raises an exception, the server first signals an
3939
# error to FUSE (causing the test to fail), and then logs the exception. Without
4040
# the extra delay, the exception will go into nowhere.
41-
@pytest.mark.hookwrapper
41+
@pytest.hookimpl(hookwrapper=True)
4242
def pytest_pyfunc_call(pyfuncitem):
4343
outcome = yield
4444
failed = outcome.excinfo is not None

0 commit comments

Comments
 (0)