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

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