From a8ba439f6535552df48ebd3e036ebd09478244ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 22 Apr 2019 19:20:46 +0200 Subject: [PATCH 1/2] Remove extra characters in the command line prompt --- doc/en/example/pythoncollection.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/en/example/pythoncollection.rst b/doc/en/example/pythoncollection.rst index 02c12f6bc9f..af922df343e 100644 --- a/doc/en/example/pythoncollection.rst +++ b/doc/en/example/pythoncollection.rst @@ -206,7 +206,7 @@ You can always peek at the collection tree without running tests like this: .. code-block:: pytest - . $ pytest --collect-only pythoncollection.py + $ pytest --collect-only pythoncollection.py =========================== test session starts ============================ platform linux -- Python 3.x.y, pytest-4.x.y, py-1.x.y, pluggy-0.x.y cachedir: $PYTHON_PREFIX/.pytest_cache @@ -266,7 +266,7 @@ leave out the ``setup.py`` file: .. code-block:: pytest - #$ pytest --collect-only + $ pytest --collect-only ====== test session starts ====== platform linux2 -- Python 2.7.10, pytest-2.9.1, py-1.4.31, pluggy-0.3.1 rootdir: $REGENDOC_TMPDIR, inifile: pytest.ini From 793b778d433d20c8aa299d2769d124207388075b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 22 Apr 2019 19:23:53 +0200 Subject: [PATCH 2/2] 5153 is trivial --- changelog/5153.trivial.rst | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 changelog/5153.trivial.rst diff --git a/changelog/5153.trivial.rst b/changelog/5153.trivial.rst new file mode 100644 index 00000000000..13f9de81467 --- /dev/null +++ b/changelog/5153.trivial.rst @@ -0,0 +1,2 @@ +Remove extra characters in the shown command line prompts in the test discovery +documentation.