From 6dd2ff5332b735487743a92b280ad276164536b1 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Wed, 2 Mar 2016 13:02:15 +0000 Subject: [PATCH] Correct indentation in documentation --- doc/en/doctest.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/en/doctest.rst b/doc/en/doctest.rst index 4798d9714..32e37008f 100644 --- a/doc/en/doctest.rst +++ b/doc/en/doctest.rst @@ -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::