From eeaf1c9dfd25539f23b7d4a5b6b32e70331e4ed0 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Sun, 9 Sep 2018 18:53:35 +0200 Subject: Fix reference to tut12 --- docs/tutorials.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/tutorials.rst b/docs/tutorials.rst index 98101246..85dd3c6a 100644 --- a/docs/tutorials.rst +++ b/docs/tutorials.rst @@ -1273,14 +1273,14 @@ To get code coverage, simply run .. code-block:: bash - $ pytest --cov=tut12 --cov-report term-missing test_tut02.py + $ pytest --cov=tut12 --cov-report term-missing test_tut12.py .. note:: To add coverage support to pytest, you'll need to install it by ``pip install pytest-cov`` This tells us that one line is missing. Of course it is because that is only executed when -the python program is started directly. We can simply change the following lines in tut02.py: +the python program is started directly. We can simply change the following lines in tut12.py: .. code-block:: python :lineno-start: 17 -- cgit v1.2.1