Remove deprecated 'pytest_itemstart' hook (#6637)

Remove deprecated 'pytest_itemstart' hook
This commit is contained in:
Bruno Oliveira
2020-01-31 16:12:27 -03:00
committed by GitHub
2 changed files with 3 additions and 4 deletions
+3
View File
@@ -0,0 +1,3 @@
Removed the long-deprecated ``pytest_itemstart`` hook.
This hook has been marked as deprecated and not been even called by pytest for over 10 years now.
-4
View File
@@ -315,10 +315,6 @@ def pytest_runtestloop(session):
""" """
def pytest_itemstart(item, node):
"""(**Deprecated**) use pytest_runtest_logstart. """
@hookspec(firstresult=True) @hookspec(firstresult=True)
def pytest_runtest_protocol(item, nextitem): def pytest_runtest_protocol(item, nextitem):
""" implements the runtest_setup/call/teardown protocol for """ implements the runtest_setup/call/teardown protocol for