Skip to content

Commit 57079e4

Browse files
committed
gh-161962: Skip LazyLoader circular-import test without working threading
1 parent aebb8b2 commit 57079e4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Lib/test/test_importlib/test_lazy.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def access_module():
180180
# Or multiple load attempts
181181
self.assertEqual(loader.load_count, 1)
182182

183+
@threading_helper.requires_working_threading()
183184
def test_lazy_circular_import_no_deadlock(self):
184185
# gh-161962: two threads first-touching two lazily loaded modules
185186
# that import each other must not deadlock. The import system's

0 commit comments

Comments
 (0)