Merge pull request #11128 from bluetech/pythonpath-note

reference: add note that `pythonpath` does not affect `-p`
This commit is contained in:
Ran Benita 2023-06-22 18:12:37 +03:00 committed by GitHub
commit 64319dbc01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1703,6 +1703,11 @@ passed multiple times. The expected format is ``name=value``. For example::
[pytest]
pythonpath = src1 src2
.. note::
``pythonpath`` does not affect some imports that happen very early,
most notably plugins loaded using the ``-p`` command line option.
.. confval:: required_plugins