summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tcl.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-05-22 16:36:53 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-05-22 16:36:53 (GMT)
commit7dc9dea7784c2e8cd07af11d1757ae58a3492bd6 (patch)
tree1721a591d3af3f79043e7a92b5dd0ca55b9c9ce4 /Lib/test/test_tcl.py
parent3cfec2e2fcab9f39121cec362b78ac235093ca1c (diff)
downloadcpython-7dc9dea7784c2e8cd07af11d1757ae58a3492bd6.zip
cpython-7dc9dea7784c2e8cd07af11d1757ae58a3492bd6.tar.gz
cpython-7dc9dea7784c2e8cd07af11d1757ae58a3492bd6.tar.bz2
Issue #20035: Reimplement tkinter._fix module as a C function.
The new private C function makes no permanent changes to the environment and is #ifdef'd out on non-Windows platforms.
Diffstat (limited to 'Lib/test/test_tcl.py')
-rw-r--r--Lib/test/test_tcl.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
index b612517..5be645a 100644
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -7,9 +7,7 @@ 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
-tkinter = support.import_fresh_module('tkinter')
-
+import tkinter
from tkinter import Tcl
from _tkinter import TclError