[TEMP] More debugging, where is my module??

This commit is contained in:
Loïc Simon 2025-10-02 23:07:29 +02:00
parent 6515e2fefd
commit 7dbb906e6e

View file

@ -1140,6 +1140,8 @@ def test_already_imported_custom_module_no_other_suggestions(self):
del sys.modules["mymodule"]
print(f"{dir1=}, {dir2=}") # TEMPORARY -- debugging tests on windows
print(f"{[p.relative_to(dir1) for p in dir1.glob("**")]=}") # TEMPORARY -- debugging tests on windows
print(f"{[p.relative_to(dir2) for p in dir2.glob("**")]=}") # TEMPORARY -- debugging tests on windows
# mymodule not imported anymore -> suggest dir2 submodules
events = code_to_events("import mymodule.\t\n")
reader = self.prepare_reader(events, namespace={})