diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2015-05-22 16:36:53 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2015-05-22 16:36:53 (GMT) |
commit | 7dc9dea7784c2e8cd07af11d1757ae58a3492bd6 (patch) | |
tree | 1721a591d3af3f79043e7a92b5dd0ca55b9c9ce4 /Lib/test/test_tcl.py | |
parent | 3cfec2e2fcab9f39121cec362b78ac235093ca1c (diff) | |
download | cpython-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.py | 4 |
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 |