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
commit 39b25ddcf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

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.

View File

@ -315,10 +315,6 @@ def pytest_runtestloop(session):
"""
def pytest_itemstart(item, node):
"""(**Deprecated**) use pytest_runtest_logstart. """
@hookspec(firstresult=True)
def pytest_runtest_protocol(item, nextitem):
""" implements the runtest_setup/call/teardown protocol for