From 7dc9dea7784c2e8cd07af11d1757ae58a3492bd6 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 22 May 2015 11:36:53 -0500 Subject: 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. --- Lib/test/test_tcl.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Lib/test/test_tcl.py') diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py index b612517941..5be645a32e 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 -- cgit v1.2.1