hookspec: remove unused hookspec pytest_doctest_prepare_content()
It's been unused for 10 years at lest from bb50ec89a9
.
This commit is contained in:
parent
256a5d8b14
commit
f382a6bb20
|
@ -0,0 +1,2 @@
|
||||||
|
Remove the `pytest_doctest_prepare_content` hook specification. This hook
|
||||||
|
hasn't been triggered by pytest for at least 10 years.
|
|
@ -805,18 +805,6 @@ def pytest_warning_recorded(
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
|
||||||
# doctest hooks
|
|
||||||
# -------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
@hookspec(firstresult=True)
|
|
||||||
def pytest_doctest_prepare_content(content):
|
|
||||||
""" return processed content for a given doctest
|
|
||||||
|
|
||||||
Stops at first non-None result, see :ref:`firstresult` """
|
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# error handling and internal debugging hooks
|
# error handling and internal debugging hooks
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue