Skip to content

Commit dbfc629

Browse files
author
Paweł Wilczyński
committed
#7138 Docs improvement: Apply indirect on particular arguments
1 parent 5e7f1ab commit dbfc629

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/en/example/parametrize.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,16 +389,17 @@ The result of this test will be successful:
389389

390390
.. code-block:: pytest
391391
392-
$ pytest test_indirect_list.py --collect-only
392+
$ pytest -v test_indirect_list.py
393393
=========================== test session starts ============================
394394
platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y
395395
cachedir: $PYTHON_PREFIX/.pytest_cache
396396
rootdir: $REGENDOC_TMPDIR
397397
collected 1 item
398-
<Module test_indirect_list.py>
399-
<Function test_indirect[a-b]>
400398
401-
========================== no tests ran in 0.12s ===========================
399+
test_indirect_list.py::test_indirect[a-b] PASSED
400+
401+
========================== 1 passed in 0.01s ===============================
402+
402403
403404
.. regendoc:wipe
404405

0 commit comments

Comments
 (0)