Update pythonpath.rst (#13181)

Fix two tiny typos in `pythonpath.rst`
This commit is contained in:
Sadra Barikbin 2025-01-31 16:35:39 +03:30 committed by GitHub
parent 9bcd7704ab
commit c962c86845
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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
@ -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.