Skip to content

Commit 6dd2ff5

Browse files
committed
Correct indentation in documentation
1 parent 891e029 commit 6dd2ff5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/en/doctest.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ place the objects you want to appear in the doctest namespace::
115115
# content of conftest.py
116116
import numpy
117117
@pytest.fixture(autouse=True)
118-
def add_np(doctest_namespace):
119-
doctest_namespace['np'] = numpy
118+
def add_np(doctest_namespace):
119+
doctest_namespace['np'] = numpy
120120

121121
which can then be used in your doctests directly::
122122

0 commit comments

Comments
 (0)