We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4709751 commit 1519687Copy full SHA for 1519687
1 file changed
Lib/test/test_threading.py
@@ -1474,6 +1474,9 @@ def _set_ident_error():
1474
thread._set_ident = _set_ident_error
1475
thread.start()
1476
1477
+ # Give the thread a moment to clean up after itself
1478
+ # specially in free-threading builds.
1479
+ time.sleep(0.1)
1480
self.assertFalse(thread.is_alive())
1481
self.assertFalse(thread in threading._limbo)
1482
self.assertFalse(thread in threading._active)
0 commit comments