mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[TEMP] debug tests on windows using modern technology (print statements)
This commit is contained in:
parent
7ac428e9c4
commit
6515e2fefd
2 changed files with 4 additions and 0 deletions
|
|
@ -1139,6 +1139,7 @@ def test_already_imported_custom_module_no_other_suggestions(self):
|
|||
self.assertEqual(output, "import mymodule.foo")
|
||||
|
||||
del sys.modules["mymodule"]
|
||||
print(f"{dir1=}, {dir2=}") # 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