mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[TEMP] More debugging, where is my module??
This commit is contained in:
parent
6515e2fefd
commit
7dbb906e6e
1 changed files with 2 additions and 0 deletions
|
|
@ -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={})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue