From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 9 Jul 2026 18:23:31 +0000 (+0300) Subject: gh-146531: Broaden `wm_iconbitmap` skip on macOS 26 Intel (#153348) X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=6ba3ad55bd922f164acf8f20b884730b718ee433;p=thirdparty%2FPython%2Fcpython.git gh-146531: Broaden `wm_iconbitmap` skip on macOS 26 Intel (#153348) --- diff --git a/Lib/test/test_tkinter/test_misc.py b/Lib/test/test_tkinter/test_misc.py index 5a25d3689df8..0ebaac22a297 100644 --- a/Lib/test/test_tkinter/test_misc.py +++ b/Lib/test/test_tkinter/test_misc.py @@ -1057,13 +1057,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(), '')