Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #13181/c962c868 backport][8.3.x] Fix two tiny typos in pythonpath.rst #13182

Open
wants to merge 1 commit into
base: 8.3.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/en/explanation/pythonpath.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pytest import mechanisms and ``sys.path``/``PYTHONPATH``
Import modes
------------

pytest as a testing framework that needs to import test modules and ``conftest.py`` files for execution.
pytest as a testing framework needs to import test modules and ``conftest.py`` files for execution.

Importing files in Python is a non-trivial process, so aspects of the
import process can be controlled through the ``--import-mode`` command-line flag, which can assume
Expand Down Expand Up @@ -78,7 +78,7 @@ these values:

For non-test modules, this will work if they are accessible via :py:data:`sys.path`. So
for example, ``.env/lib/site-packages/app/core.py`` will be importable as ``app.core``.
This is happens when plugins import non-test modules (for example doctesting).
This happens when plugins import non-test modules (for example doctesting).

If this step succeeds, the module is returned.

Expand Down
Loading