]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] gh-97032: avoid test_squeezer crash on macOS buildbots (#115508)
authorNed Deily <nad@python.org>
Mon, 19 Feb 2024 13:43:38 +0000 (08:43 -0500)
committerGitHub <noreply@github.com>
Mon, 19 Feb 2024 13:43:38 +0000 (13:43 +0000)
avoid test_squeezer crash on macOS buildbots

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']: