From 93f79bac84025b9585dd4c44040e40f094e6b645 Mon Sep 17 00:00:00 2001 From: Ned Deily Date: Mon, 19 Feb 2024 08:43:38 -0500 Subject: [PATCH] [3.10] gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) avoid test_squeezer crash on macOS buildbots (cherry picked from commit 17a6533dbf5ffdfd707c1514a61423d9ac59a9cb) 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 ee1bbd76b50562..439f644e7a083a 100644 --- a/Lib/idlelib/idle_test/test_squeezer.py +++ b/Lib/idlelib/idle_test/test_squeezer.py @@ -171,6 +171,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']: