Skip to content

Commit

Permalink
Doc: import pytest in conftest.py example in doctest.rst (pytes…
Browse files Browse the repository at this point in the history
  • Loading branch information
MLopez-Ibanez authored and flying-sheep committed Apr 9, 2024
1 parent 879e105 commit 8a5cbd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/en/how-to/doctest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a5cbd4

Please sign in to comment.