Skip to content

Commit 39b25dd

Browse files
authored
Remove deprecated 'pytest_itemstart' hook (#6637)
Remove deprecated 'pytest_itemstart' hook
2 parents 4038d6c + 7073929 commit 39b25dd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

changelog/6637.breaking.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Removed the long-deprecated ``pytest_itemstart`` hook.
2+
3+
This hook has been marked as deprecated and not been even called by pytest for over 10 years now.

src/_pytest/hookspec.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,6 @@ def pytest_runtestloop(session):
315315
"""
316316

317317

318-
def pytest_itemstart(item, node):
319-
"""(**Deprecated**) use pytest_runtest_logstart. """
320-
321-
322318
@hookspec(firstresult=True)
323319
def pytest_runtest_protocol(item, nextitem):
324320
""" implements the runtest_setup/call/teardown protocol for

0 commit comments

Comments
 (0)