diff --git a/changelog/3076.doc b/changelog/3076.doc new file mode 100644 index 000000000..2958af781 --- /dev/null +++ b/changelog/3076.doc @@ -0,0 +1 @@ +Fix the wording of a sentence on doctest flags use in pytest. diff --git a/doc/en/doctest.rst b/doc/en/doctest.rst index 4c5a878dd..61fbe04d4 100644 --- a/doc/en/doctest.rst +++ b/doc/en/doctest.rst @@ -81,9 +81,9 @@ Also, :ref:`usefixtures` and :ref:`autouse` fixtures are supported when executing text doctest files. The standard ``doctest`` module provides some setting flags to configure the -strictness of doctest tests. In pytest You can enable those flags those flags -using the configuration file. To make pytest ignore trailing whitespaces and -ignore lengthy exception stack traces you can just write: +strictness of doctest tests. In pytest, you can enable those flags using the +configuration file. To make pytest ignore trailing whitespaces and ignore +lengthy exception stack traces you can just write: .. code-block:: ini