Skip to content

Commit f6ab6d7

Browse files
committed
Run regendoc
1 parent 67755d6 commit f6ab6d7

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

doc/en/doctest.rst

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ then you can just invoke ``pytest`` directly:
3131
=========================== test session starts ============================
3232
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
3333
cachedir: $PYTHON_PREFIX/.pytest_cache
34-
rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini
34+
rootdir: $REGENDOC_TMPDIR
3535
collected 1 item
3636
37-
mymodule.py . [100%]
37+
test_example.txt . [100%]
3838
3939
========================= 1 passed in 0.12 seconds =========================
4040
@@ -57,6 +57,16 @@ and functions, including from test modules:
5757
.. code-block:: bash
5858
5959
$ pytest --doctest-modules
60+
=========================== test session starts ============================
61+
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
62+
cachedir: $PYTHON_PREFIX/.pytest_cache
63+
rootdir: $REGENDOC_TMPDIR
64+
collected 2 items
65+
66+
mymodule.py . [ 50%]
67+
test_example.txt . [100%]
68+
69+
========================= 2 passed in 0.12 seconds =========================
6070
6171
You can make these changes permanent in your project by
6272
putting them into a pytest.ini file like this:

0 commit comments

Comments
 (0)