aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/idle_test/test_macosx.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-08-31 21:09:02 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2016-08-31 21:09:02 -0400
commit5f30f7935701cb0c62f498753ad79f19f24f10a1 (patch)
treefe700ba6c930695c39de50d9719fbacc5c6cdc45 /Lib/idlelib/idle_test/test_macosx.py
parenta3623c864bd058a184abeb4163faac8a4e809cc5 (diff)
parent00b1e0f7ea1523813e3d407bfdefdf55592566af (diff)
downloadcpython-5f30f7935701cb0c62f498753ad79f19f24f10a1.tar.gz
cpython-5f30f7935701cb0c62f498753ad79f19f24f10a1.zip
Issue #27922: IDLE tests no longer flash tk widgets (Merge 3.5).
Diffstat (limited to 'Lib/idlelib/idle_test/test_macosx.py')
-rw-r--r--Lib/idlelib/idle_test/test_macosx.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/test_macosx.py b/Lib/idlelib/idle_test/test_macosx.py
index 3c6161c5182..fae75d8a497 100644
--- a/Lib/idlelib/idle_test/test_macosx.py
+++ b/Lib/idlelib/idle_test/test_macosx.py
@@ -22,6 +22,7 @@ class InitTktypeTest(unittest.TestCase):
def setUpClass(cls):
requires('gui')
cls.root = tk.Tk()
+ cls.root.withdraw()
cls.orig_platform = macosx.platform
@classmethod
@@ -76,6 +77,7 @@ class SetupTest(unittest.TestCase):
def setUpClass(cls):
requires('gui')
cls.root = tk.Tk()
+ cls.root.withdraw()
@classmethod
def tearDownClass(cls):