mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
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.
This commit is contained in:
parent
3cfec2e2fc
commit
7dc9dea778
12 changed files with 134 additions and 99 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue