From dbfc629698b66162238ae7fc4e4f771843e2bdea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Wilczy=C5=84ski?= Date: Mon, 11 May 2020 13:26:16 +0200 Subject: [PATCH] #7138 Docs improvement: Apply indirect on particular arguments --- doc/en/example/parametrize.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/en/example/parametrize.rst b/doc/en/example/parametrize.rst index df558d1ba..c9f430de9 100644 --- a/doc/en/example/parametrize.rst +++ b/doc/en/example/parametrize.rst @@ -389,16 +389,17 @@ The result of this test will be successful: .. code-block:: pytest - $ pytest test_indirect_list.py --collect-only + $ pytest -v test_indirect_list.py =========================== test session starts ============================ platform linux -- Python 3.x.y, pytest-5.x.y, py-1.x.y, pluggy-0.x.y cachedir: $PYTHON_PREFIX/.pytest_cache rootdir: $REGENDOC_TMPDIR collected 1 item - - - ========================== no tests ran in 0.12s =========================== + test_indirect_list.py::test_indirect[a-b] PASSED + + ========================== 1 passed in 0.01s =============================== + .. regendoc:wipe