diff options
author | Guilherme Polo <ggpolo@gmail.com> | 2009-02-07 02:20:29 (GMT) |
---|---|---|
committer | Guilherme Polo <ggpolo@gmail.com> | 2009-02-07 02:20:29 (GMT) |
commit | 8e5e438d215f88e586a34fcb7fe867b34852215f (patch) | |
tree | 0ac1d2420188955958266ec1d6c045a63f1a1507 /Lib/test | |
parent | 92c3b2190bae6dd7844c83b6acefc0b89d2bc225 (diff) | |
download | cpython-8e5e438d215f88e586a34fcb7fe867b34852215f.zip cpython-8e5e438d215f88e586a34fcb7fe867b34852215f.tar.gz cpython-8e5e438d215f88e586a34fcb7fe867b34852215f.tar.bz2 |
Eliminated the need to use ttk.__loadtk__ and the problems related it.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_tcl.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py index 7690fe1..26e294c 100644 --- a/Lib/test/test_tcl.py +++ b/Lib/test/test_tcl.py @@ -4,15 +4,9 @@ import unittest import os import _tkinter from test import test_support -from Tkinter import Tk, Tcl +from Tkinter import Tcl from _tkinter import TclError -# Restore Tkinter.Tk._loadtk that may have been overridden by ttk. -# If this is not done then this test may fail for reasons related -# to ttk only (like failing to load the tile package). -from ttk import __loadtk__ -Tk._loadtk = __loadtk__ - class TkinterTest(unittest.TestCase): |