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 hrfuller committed Apr 17, 2024
1 parent 416bf2e commit 415ead5
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 415ead5

Please sign in to comment.