From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 29 Apr 2026 10:00:43 +0000 (+0200) Subject: [3.14] gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115508) (GH-148141... X-Git-Tag: v3.14.5rc1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4994367796dad8b2c606ebb6e4a53de19662094c;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115508) (GH-148141) (#148414) 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']: