Skip to content

Commit 64319db

Browse files
authored
Merge pull request #11128 from bluetech/pythonpath-note
reference: add note that `pythonpath` does not affect `-p`
2 parents 1e32a4b + 1e8135d commit 64319db

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)