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

Co-authored-by: Manuel López-Ibáñez <2620021+MLopez-Ibanez@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2024-04-03 12:18:24 +00:00 committed by GitHub
parent be7c8be6ce
commit f55c660763
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 .. code-block:: python
# content of conftest.py # content of conftest.py
import pytest
import numpy import numpy