diff options
author | Ran Benita <ran@unusedvar.com> | 2020-06-25 17:32:05 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-06-25 17:44:56 +0300 |
commit | f382a6bb2084c8fb5a4e252ab7f3358752e27f67 (patch) | |
tree | c2f5b98946c670b85a4ca512d2da0e5955cb40cd /src/_pytest/hookspec.py | |
parent | 256a5d8b1458bcd0f73b1722423b07c03e450f5b (diff) | |
download | pytest-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.py | 12 |
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 # ------------------------------------------------------------------------- |