Skip to content

Commit

Permalink
Remove deprecated 'pytest_itemstart' hook (#6637)
Browse files Browse the repository at this point in the history
Remove deprecated 'pytest_itemstart' hook
  • Loading branch information
nicoddemus committed Jan 31, 2020
2 parents 4038d6c + 7073929 commit 39b25dd
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 @@ -315,10 +315,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 39b25dd

Please sign in to comment.