]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14]gh-75666: idlelib backport of iomenu change (GH-151958) (#152995)
authorTerry Jan Reedy <tjreedy@udel.edu>
Sat, 4 Jul 2026 05:01:51 +0000 (01:01 -0400)
committerGitHub <noreply@github.com>
Sat, 4 Jul 2026 05:01:51 +0000 (05:01 +0000)
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()