Skip to content

Commit 0800ab5

Browse files
[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 4413f32) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1 parent 5fb5666 commit 0800ab5

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)