From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 9 Jul 2026 18:55:52 +0000 (+0200) Subject: [3.15] gh-146531: Broaden `wm_iconbitmap` skip on macOS 26 Intel (GH-153348) (#153450) X-Git-Tag: v3.15.0b4~61 X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=0891295ac15b338fcd74ca0a647cbf975864fd98;p=thirdparty%2FPython%2Fcpython.git [3.15] gh-146531: Broaden `wm_iconbitmap` skip on macOS 26 Intel (GH-153348) (#153450) 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> --- diff --git a/Lib/test/test_tkinter/test_misc.py b/Lib/test/test_tkinter/test_misc.py index 14a5f6782877..698ba818029f 100644 --- a/Lib/test/test_tkinter/test_misc.py +++ b/Lib/test/test_tkinter/test_misc.py @@ -984,13 +984,10 @@ class WmTest(AbstractTkTest, unittest.TestCase): 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(), '')