Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 3, 2024
1 parent 9a4fd2e commit aa32844
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 @@ -227,6 +227,7 @@ place the objects you want to appear in the doctest namespace:
import pytest
import numpy
@pytest.fixture(autouse=True)
def add_np(doctest_namespace):
doctest_namespace["np"] = numpy
Expand Down

0 comments on commit aa32844

Please sign in to comment.