summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-09-04 19:02:02 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-09-04 19:02:02 (GMT)
commitcb2519813c252fa90c508ae1d72e515d034b49d0 (patch)
tree72aa3d2f0563850e89b0832763ccd8eaadacc524
parente6239a3ab3e009a1b15918c1b8182290bb8a2e91 (diff)
downloadcpython-cb2519813c252fa90c508ae1d72e515d034b49d0.zip
cpython-cb2519813c252fa90c508ae1d72e515d034b49d0.tar.gz
cpython-cb2519813c252fa90c508ae1d72e515d034b49d0.tar.bz2
Issue #27922: IDLE test_idlehistory no longer flash tk widgets.
(Omitted for 2.7 from previous patch.)
-rw-r--r--Lib/idlelib/idle_test/test_idlehistory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_idlehistory.py b/Lib/idlelib/idle_test/test_idlehistory.py
index dc6bb32..b076757 100644
--- a/Lib/idlelib/idle_test/test_idlehistory.py
+++ b/Lib/idlelib/idle_test/test_idlehistory.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)