Merge pull request #3076 from pafonta/patch-1

[doc] Reword strange sentence on doctest flags
This commit is contained in:
Bruno Oliveira 2018-01-05 09:49:54 -02:00 committed by GitHub
commit fac07c1b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

1
changelog/3076.doc Normal file
View File

@ -0,0 +1 @@
Fix the wording of a sentence on doctest flags use in pytest.

View File

@ -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