From 5c735cdbd80f5f192cdaaf037a807a826c9c1f04 Mon Sep 17 00:00:00 2001 From: Neil Schemenauer Date: Sat, 11 Apr 2026 17:43:04 -0700 Subject: [PATCH] gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115508) (GH-148141) gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) avoid test_squeezer crash on macOS buildbots (cherry picked from commit b216d7b0be725bcf0d25f3d5dade0fb06f59c71a) Co-authored-by: Neil Schemenauer Co-authored-by: Ned Deily --- Lib/idlelib/idle_test/test_squeezer.py | 1 + 1 file changed, 1 insertion(+) 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']: