summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuilherme Polo <ggpolo@gmail.com>2009-02-07 02:20:29 (GMT)
committerGuilherme Polo <ggpolo@gmail.com>2009-02-07 02:20:29 (GMT)
commit8e5e438d215f88e586a34fcb7fe867b34852215f (patch)
tree0ac1d2420188955958266ec1d6c045a63f1a1507 /Lib/test
parent92c3b2190bae6dd7844c83b6acefc0b89d2bc225 (diff)
downloadcpython-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.py8
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):