[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:
parent
be7c8be6ce
commit
f55c660763
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue