From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 21 Feb 2024 11:17:44 +0000 (+0100) Subject: [3.9] gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) (#115655) X-Git-Tag: v3.9.19~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c23f74903f133d83249c830e65322be3c32b64a2;p=thirdparty%2FPython%2Fcpython.git [3.9] gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) (#115655) (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']: