aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 02:37:06 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2013-03-16 02:37:06 -0400
commit743c85a32e3623fa1fcdeefc9e31e53d74d700db (patch)
treed34a29b501769fac0d912db2fbdb39bd404403e8 /Lib/test/test_tcl.py
parent#17431: Fix missing import of BytesFeedParser in email.parser. (diff)
downloadcpython-743c85a32e3623fa1fcdeefc9e31e53d74d700db.tar.gz
cpython-743c85a32e3623fa1fcdeefc9e31e53d74d700db.tar.bz2
cpython-743c85a32e3623fa1fcdeefc9e31e53d74d700db.zip
Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
Diffstat (limited to 'Lib/test/test_tcl.py')
-rw-r--r--Lib/test/test_tcl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index d38c0b5bb8a..0cc21c9f2b9 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -8,6 +8,9 @@ from test import support
# Skip this test if the _tkinter module wasn't built.
_tkinter = support.import_module('_tkinter')
+# Make sure tkinter._fix runs to set up the environment
+support.import_fresh_module('tkinter')
+
from tkinter import Tcl
from _tkinter import TclError