summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_editmenu.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle_test/test_editmenu.py')
-rw-r--r--Lib/idlelib/idle_test/test_editmenu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_editmenu.py b/Lib/idlelib/idle_test/test_editmenu.py
index 654f060..17eb25c 100644
--- a/Lib/idlelib/idle_test/test_editmenu.py
+++ b/Lib/idlelib/idle_test/test_editmenu.py
@@ -17,6 +17,7 @@ class PasteTest(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.root = root = tk.Tk()
+ cls.root.withdraw()
pyshell.fix_x11_paste(root)
cls.text = tk.Text(root)
cls.entry = tk.Entry(root)