summaryrefslogtreecommitdiff
path: root/src/_pytest/hookspec.py
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2020-06-25 17:32:05 +0300
committerRan Benita <ran@unusedvar.com>2020-06-25 17:44:56 +0300
commitf382a6bb2084c8fb5a4e252ab7f3358752e27f67 (patch)
treec2f5b98946c670b85a4ca512d2da0e5955cb40cd /src/_pytest/hookspec.py
parent256a5d8b1458bcd0f73b1722423b07c03e450f5b (diff)
downloadpytest-f382a6bb2084c8fb5a4e252ab7f3358752e27f67.tar.gz
hookspec: remove unused hookspec pytest_doctest_prepare_content()
It's been unused for 10 years at lest from bb50ec89a92f0623c9f8f5f29.
Diffstat (limited to 'src/_pytest/hookspec.py')
-rw-r--r--src/_pytest/hookspec.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/_pytest/hookspec.py b/src/_pytest/hookspec.py
index 1b4b09c85..8c88b66cb 100644
--- a/src/_pytest/hookspec.py
+++ b/src/_pytest/hookspec.py
@@ -806,18 +806,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
# -------------------------------------------------------------------------