Skip to content

Commit f55c660

Browse files
[8.1.x] doc: import pytest in conftest.py example in doctest.rst (#12182)
Co-authored-by: Manuel López-Ibáñez <[email protected]>
1 parent be7c8be commit f55c660

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/en/how-to/doctest.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ place the objects you want to appear in the doctest namespace:
224224
.. code-block:: python
225225
226226
# content of conftest.py
227+
import pytest
227228
import numpy
228229
229230

0 commit comments

Comments
 (0)