mirror of https://github.com/pytest-dev/pytest.git
docs: Fix wrong statement about sys.modules with importlib import mode (#12985)
Follow-up to #7870, see #12983.
This commit is contained in:
parent
76e0444770
commit
2157caf879
|
@ -210,8 +210,8 @@ Note that this layout also works in conjunction with the ``src`` layout mentione
|
|||
to avoid surprises such as a test module getting imported twice.
|
||||
|
||||
With ``--import-mode=importlib`` things are less convoluted because
|
||||
pytest doesn't need to change ``sys.path`` or ``sys.modules``, making things
|
||||
much less surprising.
|
||||
pytest doesn't need to change ``sys.path``, making things much less
|
||||
surprising.
|
||||
|
||||
|
||||
.. _which-import-mode:
|
||||
|
|
Loading…
Reference in New Issue