Skip to content

Commit 7317767

Browse files
committed
Fix hook name in LsofFdLeakChecker
1 parent 0baf5e1 commit 7317767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_pytest/pytester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def matching_platform(self):
8888
return True
8989

9090
@pytest.hookimpl(hookwrapper=True, tryfirst=True)
91-
def pytest_runtest_item(self, item):
91+
def pytest_runtest_protocol(self, item):
9292
lines1 = self.get_open_files()
9393
yield
9494
if hasattr(sys, "pypy_version_info"):

0 commit comments

Comments
 (0)