Skip to content

Commit b223396

Browse files
committed
Add a comment for the test.
1 parent 09851dc commit b223396

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_interpreters/test_api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,10 @@ def test_remaining_threads(self):
652652

653653
FINISHED = b'F'
654654

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.
655659
interp = interpreters.create()
656660
interp.exec(f"""if True:
657661
import os

0 commit comments

Comments
 (0)