summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_history.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_history.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_history.py')
-rw-r--r--Lib/idlelib/idle_test/test_history.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_history.py b/Lib/idlelib/idle_test/test_history.py
index 6e8269c..b278010 100644
--- a/Lib/idlelib/idle_test/test_history.py
+++ b/Lib/idlelib/idle_test/test_history.py
@@ -68,6 +68,7 @@ class FetchTest(unittest.TestCase):
def setUpClass(cls):
requires('gui')
cls.root = tk.Tk()
+ cls.root.withdraw()
def setUp(self):
self.text = text = TextWrapper(self.root)