]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-75666: idlelib backport of iomenu change (GH-151958) (GH-152995) (#152996)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 4 Jul 2026 08:20:24 +0000 (10:20 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Jul 2026 08:20:24 +0000 (04:20 -0400)
[3.14]gh-75666: idlelib backport of iomenu change (GH-151958) (GH-152995)
(cherry picked from commit 4413f328eafd38180b6873c58bbab5962c761f3a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/idle_test/test_iomenu.py

index 976df3d5f7bbc6b73cf25ec5a0e404c85a04b3d0..90a23620354f31366bebbb8985872c65ea643fb0 100644 (file)
@@ -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()