From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 21 Feb 2024 11:21:53 +0000 (+0100) Subject: [3.8] gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) (GH-115656) X-Git-Tag: v3.8.19~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab64d7d868f040c575efeaf89b594c9b8812fdba;p=thirdparty%2FPython%2Fcpython.git [3.8] gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) (GH-115656) (cherry picked from commit 17a6533dbf5ffdfd707c1514a61423d9ac59a9cb) Co-authored-by: Ned Deily --- diff --git a/Lib/idlelib/idle_test/test_squeezer.py b/Lib/idlelib/idle_test/test_squeezer.py index ee1bbd76b505..439f644e7a08 100644 --- a/Lib/idlelib/idle_test/test_squeezer.py +++ b/Lib/idlelib/idle_test/test_squeezer.py @@ -171,6 +171,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']: