[3.9] gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) (#115655)

(cherry picked from commit 17a6533dbf)

Co-authored-by: Ned Deily <nad@python.org>
This commit is contained in:
Miss Islington (bot) 2024-02-21 12:17:44 +01:00 committed by GitHub
parent 3fcea416f8
commit c23f74903f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

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