Skip to content

Commit 1aea132

Browse files
committed
gh-97032: Skip SqueezerTest.test_write_stdout if macOS < 11.07
1 parent a4ac14f commit 1aea132

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/idlelib/idle_test/test_squeezer.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from tkinter import Text, Tk
55
import unittest
66
from unittest.mock import Mock, NonCallableMagicMock, patch, sentinel, ANY
7-
from test.support import requires
7+
from test.support import requires, requires_mac_ver
88

99
from idlelib.config import idleConf
1010
from idlelib.percolator import Percolator
@@ -168,6 +168,8 @@ def test_write_not_stdout(self):
168168
orig_write.assert_called_with(text, "stderr")
169169
self.assertEqual(len(squeezer.expandingbuttons), 0)
170170

171+
# gh-97032: The following tests have problems on OS X prior to 11.7
172+
@requires_mac_ver(11, 7)
171173
def test_write_stdout(self):
172174
"""Test Squeezer's overriding of the EditorWindow's write() method."""
173175
editwin = self.make_mock_editor_window()

0 commit comments

Comments
 (0)