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 for more than 10 years and has not even
being called by pytest in a long time.
  • Loading branch information
nicoddemus committed Jan 30, 2020
1 parent 4de8e68 commit f2fb838
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changelog/6637.breaking.rst
@@ -0,0 +1,4 @@
Removed the long-deprecated ``pytest_itemstart`` hook.

This hook has been marked as deprecated for over 10 years now, and has not even been called
by pytest in a long time.
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 f2fb838

Please sign in to comment.