Remove deprecated 'pytest_itemstart' hook (#6637)
Remove deprecated 'pytest_itemstart' hook
This commit is contained in:
@@ -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.
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user