From: Neil Schemenauer Date: Sun, 12 Apr 2026 00:43:04 +0000 (-0700) Subject: gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115508) (GH-148141) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b216d7b0be725bcf0d25f3d5dade0fb06f59c71a;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Lib/idlelib/idle_test/test_squeezer.py b/Lib/idlelib/idle_test/test_squeezer.py index 86c5d41b6297..86c21f00bb8d 100644 --- a/Lib/idlelib/idle_test/test_squeezer.py +++ b/Lib/idlelib/idle_test/test_squeezer.py @@ -170,6 +170,7 @@ class SqueezerTest(unittest.TestCase): 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']: