From f6ab6d71ad07ae9a4bdc8a65d7e9d7359f6b94c5 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sun, 28 Apr 2019 15:11:53 +0000 Subject: [PATCH] Run regendoc --- doc/en/doctest.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/en/doctest.rst b/doc/en/doctest.rst index cc7d8c288..5ab548239 100644 --- a/doc/en/doctest.rst +++ b/doc/en/doctest.rst @@ -31,10 +31,10 @@ then you can just invoke ``pytest`` directly: =========================== test session starts ============================ platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y cachedir: $PYTHON_PREFIX/.pytest_cache - rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini + rootdir: $REGENDOC_TMPDIR collected 1 item - mymodule.py . [100%] + test_example.txt . [100%] ========================= 1 passed in 0.12 seconds ========================= @@ -57,6 +57,16 @@ and functions, including from test modules: .. code-block:: bash $ pytest --doctest-modules + =========================== test session starts ============================ + platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y + cachedir: $PYTHON_PREFIX/.pytest_cache + rootdir: $REGENDOC_TMPDIR + collected 2 items + + mymodule.py . [ 50%] + test_example.txt . [100%] + + ========================= 2 passed in 0.12 seconds ========================= You can make these changes permanent in your project by putting them into a pytest.ini file like this: