summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/idle_test/test_history.py
diff options
context:
space:
mode:
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)