From 554cb8d09c4bef44b90215ebd6b5ba223200f373 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Fonta Date: Thu, 4 Jan 2018 14:47:05 +0100 Subject: [PATCH 1/2] Reword strange sentence on doctest flags --- doc/en/doctest.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 From ac6f257efc022f95cbb02e2a9bc667b29410e529 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Fonta Date: Thu, 4 Jan 2018 14:58:30 +0100 Subject: [PATCH 2/2] Create news fragment for the pull request --- changelog/3076.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/3076.doc 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.