https://github.com/python/cpython/commit/b216d7b0be725bcf0d25f3d5dade0fb06f59c71a
commit: b216d7b0be725bcf0d25f3d5dade0fb06f59c71a
branch: main
author: Neil Schemenauer <[email protected]>
committer: gpshead <[email protected]>
date: 2026-04-11T17:43:04-07:00
summary:

gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115508) (GH-148141)

gh-97032: avoid test_squeezer crash on macOS buildbots (#115508)

avoid test_squeezer crash on macOS buildbots

Co-authored-by: Ned Deily <[email protected]>

files:
M Lib/idlelib/idle_test/test_squeezer.py

diff --git a/Lib/idlelib/idle_test/test_squeezer.py 
b/Lib/idlelib/idle_test/test_squeezer.py
index 86c5d41b629719..86c21f00bb8d00 100644
--- a/Lib/idlelib/idle_test/test_squeezer.py
+++ b/Lib/idlelib/idle_test/test_squeezer.py
@@ -170,6 +170,7 @@ def test_write_not_stdout(self):
 
     def test_write_stdout(self):
         """Test Squeezer's overriding of the EditorWindow's write() method."""
+        requires('gui')
         editwin = self.make_mock_editor_window()
 
         for text in ['', 'TEXT']:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to