From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 29 Apr 2026 10:01:04 +0000 (+0200) Subject: [3.13] gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115508) (GH-148141... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1fb21b15048c3be01287b00f1037bae6fde1800;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115508) (GH-148141) (#148415) Co-authored-by: Neil Schemenauer 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']: