Fix hook name in LsofFdLeakChecker
This commit is contained in:
parent
0baf5e1499
commit
731776702d
|
@ -88,7 +88,7 @@ class LsofFdLeakChecker(object):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@pytest.hookimpl(hookwrapper=True, tryfirst=True)
|
@pytest.hookimpl(hookwrapper=True, tryfirst=True)
|
||||||
def pytest_runtest_item(self, item):
|
def pytest_runtest_protocol(self, item):
|
||||||
lines1 = self.get_open_files()
|
lines1 = self.get_open_files()
|
||||||
yield
|
yield
|
||||||
if hasattr(sys, "pypy_version_info"):
|
if hasattr(sys, "pypy_version_info"):
|
||||||
|
|
Loading…
Reference in New Issue