Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Simplify the test.
  • Loading branch information
ZeroIntensity committed Jul 28, 2025
commit 3d15931f6e12953ef5fa9279f923acc9d3c3c30f
4 changes: 1 addition & 3 deletions Lib/test/test_interpreters/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2370,11 +2370,9 @@ def test_interpreter_handles_signals(self):
import signal

interp_source = """if True:
import sys
import time

sys.stdout.write('x')
sys.stdout.flush()
print('x', end='', flush=True)
time.sleep(10)
print("should never happen", flush=True)
"""
Expand Down