From 70bdacf01aa0917d4499c1aff4f9f2061968a655 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sun, 26 Aug 2018 12:58:47 +0000 Subject: [PATCH] Fix collection example docs --- doc/en/example/pythoncollection.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/en/example/pythoncollection.rst b/doc/en/example/pythoncollection.rst index 757e8980a..500873817 100644 --- a/doc/en/example/pythoncollection.rst +++ b/doc/en/example/pythoncollection.rst @@ -103,8 +103,8 @@ the :confval:`python_files`, :confval:`python_classes` and :confval:`python_functions` configuration options. Here is an example:: - # Example 1: have pytest look for "check" instead of "test" # content of pytest.ini + # Example 1: have pytest look for "check" instead of "test" # can also be defined in tox.ini or setup.cfg file, although the section # name in setup.cfg files should be "tool:pytest" [pytest] @@ -129,7 +129,12 @@ The test collection would look like this:: =========================== test session starts ============================ platform linux -- Python 3.x.y, pytest-3.x.y, py-1.x.y, pluggy-0.x.y rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini - collected 0 items + collected 2 items + + + + + ======================= no tests ran in 0.12 seconds =======================