[8.1.x] doc: `import pytest` in `conftest.py` example in `doctest.rst`

This commit is contained in:
Manuel López-Ibáñez 2024-04-03 13:02:09 +01:00 committed by pytest bot
parent be7c8be6ce
commit e1681d4419
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ place the objects you want to appear in the doctest namespace:
.. code-block:: python
# content of conftest.py
import pytest
import numpy