Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog/6637.breaking.rst
Original file line number Diff line number Diff line change
@@ -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 changes: 0 additions & 4 deletions src/_pytest/hookspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,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
Expand Down