From cb0a13a523e7d9f1e9f3bd77095a9f58adb4e7b7 Mon Sep 17 00:00:00 2001 From: Max Voitko Date: Fri, 2 Oct 2020 16:39:15 +0300 Subject: [PATCH] Fix minor typos in doctest.rst (#7828) --- 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 1963214f7..5a3c76a12 100644 --- a/doc/en/doctest.rst +++ b/doc/en/doctest.rst @@ -2,7 +2,7 @@ Doctest integration for modules and test files ========================================================= -By default all files matching the ``test*.txt`` pattern will +By default, all files matching the ``test*.txt`` pattern will be run through the python standard ``doctest`` module. You can change the pattern by issuing: @@ -206,7 +206,7 @@ It is possible to use fixtures using the ``getfixture`` helper: >>> ... >>> -Note that the fixture needs to be defined in a place visible by pytest, for example a `conftest.py` +Note that the fixture needs to be defined in a place visible by pytest, for example, a `conftest.py` file or plugin; normal python files containing docstrings are not normally scanned for fixtures unless explicitly configured by :confval:`python_files`.