summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tk.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 06:51:18 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 06:51:18 (GMT)
commitb73ac548353c11f2203d51c85d052231d9d305cc (patch)
tree6f2b337b629e0db71b5d795684c394c2f2d5a6f6 /Lib/test/test_tk.py
parent8093d6f822133ec552aa32279cd53ea8caa8168e (diff)
parent743c85a32e3623fa1fcdeefc9e31e53d74d700db (diff)
downloadcpython-b73ac548353c11f2203d51c85d052231d9d305cc.zip
cpython-b73ac548353c11f2203d51c85d052231d9d305cc.tar.gz
cpython-b73ac548353c11f2203d51c85d052231d9d305cc.tar.bz2
Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
Diffstat (limited to 'Lib/test/test_tk.py')
-rw-r--r--Lib/test/test_tk.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_tk.py b/Lib/test/test_tk.py
index f993c53..7551a7f 100644
--- a/Lib/test/test_tk.py
+++ b/Lib/test/test_tk.py
@@ -2,6 +2,9 @@ from test import support
# Skip test if _tkinter wasn't built.
support.import_module('_tkinter')
+# Make sure tkinter._fix runs to set up the environment
+support.import_fresh_module('tkinter')
+
# Skip test if tk cannot be initialized.
from tkinter.test.support import check_tk_availability
check_tk_availability()