Skip to content

Commit

Permalink
Remove deprecated 'pytest_itemstart' hook
Browse files Browse the repository at this point in the history
This hook has been deprecated/removed for more than 10 years
in a2fe671.
  • Loading branch information
nicoddemus committed Jan 31, 2020
1 parent 4de8e68 commit 7073929
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelog/6637.breaking.rst
@@ -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
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

0 comments on commit 7073929

Please sign in to comment.