Run regendoc

This commit is contained in:
Bruno Oliveira 2019-04-28 15:11:53 +00:00
parent 67755d67fb
commit f6ab6d71ad
1 changed files with 12 additions and 2 deletions

View File

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