Merge pull request #3076 from pafonta/patch-1
[doc] Reword strange sentence on doctest flags
This commit is contained in:
commit
fac07c1b3f
|
@ -0,0 +1 @@
|
||||||
|
Fix the wording of a sentence on doctest flags use in pytest.
|
|
@ -81,9 +81,9 @@ Also, :ref:`usefixtures` and :ref:`autouse` fixtures are supported
|
||||||
when executing text doctest files.
|
when executing text doctest files.
|
||||||
|
|
||||||
The standard ``doctest`` module provides some setting flags to configure the
|
The standard ``doctest`` module provides some setting flags to configure the
|
||||||
strictness of doctest tests. In pytest You can enable those flags those flags
|
strictness of doctest tests. In pytest, you can enable those flags using the
|
||||||
using the configuration file. To make pytest ignore trailing whitespaces and
|
configuration file. To make pytest ignore trailing whitespaces and ignore
|
||||||
ignore lengthy exception stack traces you can just write:
|
lengthy exception stack traces you can just write:
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue