Skip to content

Commit

Permalink
[8.1.x] doc: import pytest in conftest.py example in doctest.rst (
Browse files Browse the repository at this point in the history
#12182)

Co-authored-by: Manuel López-Ibáñez <2620021+MLopez-Ibanez@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and MLopez-Ibanez authored Apr 3, 2024
1 parent be7c8be commit f55c660
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 f55c660

Please sign in to comment.