Skip to content

Commit

Permalink
Update pythonpath.rst (#13181) (#13182)
Browse files Browse the repository at this point in the history
Fix two tiny typos in `pythonpath.rst`

(cherry picked from commit c962c86)

Co-authored-by: Sadra Barikbin <[email protected]>
  • Loading branch information
patchback[bot] and sadra-barikbin authored Feb 3, 2025
1 parent 4dbec99 commit 8728b1a
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 8728b1a

Please sign in to comment.