Skip to content

Commit

Permalink
reference: add note that pythonpath does not affect -p
Browse files Browse the repository at this point in the history
Fix #11118.
  • Loading branch information
bluetech committed Jun 22, 2023
1 parent 1e32a4b commit 1e8135d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/en/reference/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1e8135d

Please sign in to comment.