File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ then you can just invoke ``pytest`` directly:
31
31
=========================== test session starts ============================
32
32
platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y
33
33
cachedir: $PYTHON_PREFIX/.pytest_cache
34
- rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini
34
+ rootdir: $REGENDOC_TMPDIR
35
35
collected 1 item
36
36
37
- mymodule.py . [100%]
37
+ test_example.txt . [100%]
38
38
39
39
========================= 1 passed in 0.12 seconds =========================
40
40
@@ -57,6 +57,16 @@ and functions, including from test modules:
57
57
.. code-block :: bash
58
58
59
59
$ 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 =========================
60
70
61
71
You can make these changes permanent in your project by
62
72
putting them into a pytest.ini file like this:
You can’t perform that action at this time.
0 commit comments