]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) (#115655)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 Feb 2024 11:17:44 +0000 (12:17 +0100)
committerGitHub <noreply@github.com>
Wed, 21 Feb 2024 11:17:44 +0000 (12:17 +0100)
(cherry picked from commit 17a6533dbf5ffdfd707c1514a61423d9ac59a9cb)

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

index ee1bbd76b50562d8a16fc80ad4808a038d2e6b6e..439f644e7a083a40e5bfcb62c9015ad987405077 100644 (file)
@@ -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']: