[7.1.x] Ignore editable installation modules

This commit is contained in:
Gergely Kalmár
2022-08-26 14:46:47 +02:00
committed by pytest bot
parent 89f7518cb1
commit 71b79fcda5
3 changed files with 6 additions and 1 deletions
+3
View File
@@ -837,6 +837,9 @@ class TestConfigAPI:
(["src/bar/__init__.py"], ["bar"]),
(["src/bar/__init__.py", "setup.py"], ["bar"]),
(["source/python/bar/__init__.py", "setup.py"], ["bar"]),
# editable installation finder modules
(["__editable___xyz_finder.py"], []),
(["bar/__init__.py", "__editable___xyz_finder.py"], ["bar"]),
],
)
def test_iter_rewritable_modules(self, names, expected) -> None: