Correct indentation in documentation

This commit is contained in:
Matt Williams 2016-03-02 13:02:15 +00:00
parent 891e029518
commit 6dd2ff5332
1 changed files with 2 additions and 2 deletions

View File

@ -115,8 +115,8 @@ place the objects you want to appear in the doctest namespace::
# content of conftest.py
import numpy
@pytest.fixture(autouse=True)
def add_np(doctest_namespace):
doctest_namespace['np'] = numpy
def add_np(doctest_namespace):
doctest_namespace['np'] = numpy
which can then be used in your doctests directly::