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 09851dc commit b223396Copy full SHA for b223396
Lib/test/test_interpreters/test_api.py
@@ -652,6 +652,10 @@ def test_remaining_threads(self):
652
653
FINISHED = b'F'
654
655
+ # It's unlikely, but technically speaking, it's possible
656
+ # that the thread could've finished before interp.close() is
657
+ # reached, so this test might not properly exercise the case.
658
+ # However, it's quite unlikely and I'm too lazy to deal with it.
659
interp = interpreters.create()
660
interp.exec(f"""if True:
661
import os
0 commit comments