Skip to content

Commit 1e8135d

Browse files
committed
reference: add note that pythonpath does not affect -p
Fix #11118.
1 parent 1e32a4b commit 1e8135d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/en/reference/reference.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1703,6 +1703,11 @@ passed multiple times. The expected format is ``name=value``. For example::
17031703
[pytest]
17041704
pythonpath = src1 src2
17051705
1706+
.. note::
1707+
1708+
``pythonpath`` does not affect some imports that happen very early,
1709+
most notably plugins loaded using the ``-p`` command line option.
1710+
17061711

17071712
.. confval:: required_plugins
17081713

0 commit comments

Comments
 (0)