From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sat, 4 Jul 2026 08:20:24 +0000 (+0200) Subject: [3.13] gh-75666: idlelib backport of iomenu change (GH-151958) (GH-152995) (#152996) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0800ab51e7ecf136d833c3c5d15369765ae36210;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-75666: idlelib backport of iomenu change (GH-151958) (GH-152995) (#152996) [3.14]gh-75666: idlelib backport of iomenu change (GH-151958) (GH-152995) (cherry picked from commit 4413f328eafd38180b6873c58bbab5962c761f3a) Co-authored-by: Terry Jan Reedy --- diff --git a/Lib/idlelib/idle_test/test_iomenu.py b/Lib/idlelib/idle_test/test_iomenu.py index 976df3d5f7bb..90a23620354f 100644 --- a/Lib/idlelib/idle_test/test_iomenu.py +++ b/Lib/idlelib/idle_test/test_iomenu.py @@ -23,11 +23,10 @@ class IOBindingTest(unittest.TestCase): cls.root = Tk() cls.root.withdraw() cls.editwin = EditorWindow(root=cls.root) - cls.io = iomenu.IOBinding(cls.editwin) + cls.io = cls.editwin.io @classmethod def tearDownClass(cls): - cls.io.close() cls.editwin._close() del cls.editwin cls.root.update_idletasks()