]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-97032: avoid test_squeezer crash on macOS buildbots (gh-115508) (GH-148141)
authorNeil Schemenauer <nas-github@arctrix.com>
Sun, 12 Apr 2026 00:43:04 +0000 (17:43 -0700)
committerGitHub <noreply@github.com>
Sun, 12 Apr 2026 00:43:04 +0000 (17:43 -0700)
gh-97032: avoid test_squeezer crash on macOS buildbots (#115508)

avoid test_squeezer crash on macOS buildbots

Co-authored-by: Ned Deily <nad@python.org>
Lib/idlelib/idle_test/test_squeezer.py

index 86c5d41b6297192ff56f7ec07fcb28e136b9a3a8..86c21f00bb8d00bcd14a5c0cff73a25ecb93e517 100644 (file)
@@ -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']: