bpo-19696: Move threaded_import_hangers (GH-14655) · python/cpython@a65c977 (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -178,11 +178,11 @@ def test_import_hangers(self):
178 178 # In case this test is run again, make sure the helper module
179 179 # gets loaded from scratch again.
180 180 try:
181 -del sys.modules['test.threaded_import_hangers']
181 +del sys.modules['test.test_importlib.threaded_import_hangers']
182 182 except KeyError:
183 183 pass
184 -import test.threaded_import_hangers
185 -self.assertFalse(test.threaded_import_hangers.errors)
184 +import test.test_importlib.threaded_import_hangers
185 +self.assertFalse(test.test_importlib.threaded_import_hangers.errors)
186 186
187 187 def test_circular_imports(self):
188 188 # The goal of this test is to exercise implementations of the import

File renamed without changes.