Skip to content

Commit 199824c

Browse files
committed
Improve test docstring for intree backend
1 parent f14e5df commit 199824c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_inplace_hooks.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ def test_intree_backend_loaded_from_correct_backend_path():
7171
"""
7272
PEP 517 establishes that the backend code should be loaded from ``backend-path``,
7373
and recognizes that not always the environment isolation is perfect
74-
(e.g. it explicitly mentions ``--system-site-packages``). Therefore, even in a
75-
situation where a ``MetaPathFinder`` would have priority to find the backend spec,
76-
the backend should still be loaded from ``backend-path``.
74+
(e.g. it explicitly mentions ``--system-site-packages``).
75+
Therefore, even in a situation where a third-party ``MetaPathFinder`` has
76+
precedence over ``importlib.machinery.PathFinder``, the backend should
77+
still be loaded from ``backend-path``.
7778
"""
7879
hooks = get_hooks("pkg_intree", backend="intree_backend")
7980
with TemporaryDirectory() as tmp:

0 commit comments

Comments
 (0)