Correct indentation in documentation
This commit is contained in:
parent
891e029518
commit
6dd2ff5332
|
@ -115,8 +115,8 @@ place the objects you want to appear in the doctest namespace::
|
||||||
# content of conftest.py
|
# content of conftest.py
|
||||||
import numpy
|
import numpy
|
||||||
@pytest.fixture(autouse=True)
|
@pytest.fixture(autouse=True)
|
||||||
def add_np(doctest_namespace):
|
def add_np(doctest_namespace):
|
||||||
doctest_namespace['np'] = numpy
|
doctest_namespace['np'] = numpy
|
||||||
|
|
||||||
which can then be used in your doctests directly::
|
which can then be used in your doctests directly::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue