summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_editmenu.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-09-01 01:09:02 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-09-01 01:09:02 (GMT)
commit5f30f7935701cb0c62f498753ad79f19f24f10a1 (patch)
treefe700ba6c930695c39de50d9719fbacc5c6cdc45 /Lib/idlelib/idle_test/test_editmenu.py
parenta3623c864bd058a184abeb4163faac8a4e809cc5 (diff)
parent00b1e0f7ea1523813e3d407bfdefdf55592566af (diff)
downloadcpython-5f30f7935701cb0c62f498753ad79f19f24f10a1.zip
cpython-5f30f7935701cb0c62f498753ad79f19f24f10a1.tar.gz
cpython-5f30f7935701cb0c62f498753ad79f19f24f10a1.tar.bz2
Issue #27922: IDLE tests no longer flash tk widgets (Merge 3.5).
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)