From bc163605abf4d89cf2c9213fd3291707c3b67453 Mon Sep 17 00:00:00 2001 From: Gene Wood Date: Wed, 4 Sep 2019 09:18:10 -0700 Subject: [PATCH] Fix anchor link from Good Practices to Pythonpath doc --- doc/en/goodpractices.rst | 2 +- doc/en/pythonpath.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/en/goodpractices.rst b/doc/en/goodpractices.rst index 0aa0dc97c..4da9d1bca 100644 --- a/doc/en/goodpractices.rst +++ b/doc/en/goodpractices.rst @@ -88,7 +88,7 @@ This has the following benefits: .. note:: - See :ref:`pythonpath` for more information about the difference between calling ``pytest`` and + See :ref:`pytest vs python -m pytest` for more information about the difference between calling ``pytest`` and ``python -m pytest``. Note that using this scheme your test files must have **unique names**, because diff --git a/doc/en/pythonpath.rst b/doc/en/pythonpath.rst index 113c95c30..0054acc59 100644 --- a/doc/en/pythonpath.rst +++ b/doc/en/pythonpath.rst @@ -72,6 +72,8 @@ imported in the global import namespace. This is also discussed in details in :ref:`test discovery`. +.. _`pytest vs python -m pytest`: + Invoking ``pytest`` versus ``python -m pytest`` -----------------------------------------------