Skip to content

Commit 4413f32

Browse files
authored
[3.14]gh-75666: idlelib backport of iomenu change (GH-151958) (#152995)
1 parent 058a5c6 commit 4413f32

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/idlelib/idle_test/test_iomenu.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ def setUpClass(cls):
2323
cls.root = Tk()
2424
cls.root.withdraw()
2525
cls.editwin = EditorWindow(root=cls.root)
26-
cls.io = iomenu.IOBinding(cls.editwin)
26+
cls.io = cls.editwin.io
2727

2828
@classmethod
2929
def tearDownClass(cls):
30-
cls.io.close()
3130
cls.editwin._close()
3231
del cls.editwin
3332
cls.root.update_idletasks()

0 commit comments

Comments
 (0)