From 53c3f36dc2fa0b9ea79d56a06d72425f86345bf6 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 9 Jul 2026 21:23:31 +0300 Subject: [PATCH] gh-146531: Broaden `wm_iconbitmap` skip on macOS 26 Intel (GH-153348) (cherry picked from commit 6ba3ad55bd922f164acf8f20b884730b718ee433) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- Lib/test/test_tkinter/test_misc.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Lib/test/test_tkinter/test_misc.py b/Lib/test/test_tkinter/test_misc.py index fa15c9683043cd..1452b598b6da82 100644 --- a/Lib/test/test_tkinter/test_misc.py +++ b/Lib/test/test_tkinter/test_misc.py @@ -414,13 +414,10 @@ def test_wm_iconbitmap(self): and sys.platform == 'darwin' and platform.machine() == 'x86_64' and platform.mac_ver()[0].startswith('26.') - and ( - patchlevel[:3] <= (8, 6, 17) - or (9, 0) <= patchlevel[:3] <= (9, 0, 3) - ) ): # https://github.com/python/cpython/issues/146531 # Tk bug 4a2070f0d3a99aa412bc582d386d575ca2f37323 + # Not fixed as of Tk 8.6.18 and 9.0.4. self.skipTest('wm iconbitmap hangs on macOS 26 Intel') self.assertEqual(t.wm_iconbitmap(), '')