Skip to content

Commit 7dbb906

Browse files
committed
[TEMP] More debugging, where is my module??
1 parent 6515e2f commit 7dbb906

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_pyrepl/test_pyrepl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,8 @@ def test_already_imported_custom_module_no_other_suggestions(self):
11401140

11411141
del sys.modules["mymodule"]
11421142
print(f"{dir1=}, {dir2=}") # TEMPORARY -- debugging tests on windows
1143+
print(f"{[p.relative_to(dir1) for p in dir1.glob("**")]=}") # TEMPORARY -- debugging tests on windows
1144+
print(f"{[p.relative_to(dir2) for p in dir2.glob("**")]=}") # TEMPORARY -- debugging tests on windows
11431145
# mymodule not imported anymore -> suggest dir2 submodules
11441146
events = code_to_events("import mymodule.\t\n")
11451147
reader = self.prepare_reader(events, namespace={})

0 commit comments

Comments
 (0)