1 This is to avoid clash with ips pkg module.
3 --- editables-0.5/tests/test_redirects.py.orig
4 +++ editables-0.5/tests/test_redirects.py
6 project = tmp_path / "project"
11 "__init__.py": "val = 42",
15 with save_import_state():
17 F.map_module("mod", project / "mod.py")
18 - F.map_module("pkg", project / "pkg/__init__.py")
19 + F.map_module("pkg1", project / "pkg1/__init__.py")
27 - assert pkg.val == 42
29 + assert pkg1.val == 42
32 - assert pkg.sub.val == 42
33 + assert pkg1.sub.val == 42
36 def test_cache_invalidation():