Doc: `import pytest` in `conftest.py` example in `doctest.rst` (#12181)
This commit is contained in:
parent
b63bea9523
commit
cc588d1a1a
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue