summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuilherme Polo <ggpolo@gmail.com>2009-02-07 02:33:47 (GMT)
committerGuilherme Polo <ggpolo@gmail.com>2009-02-07 02:33:47 (GMT)
commitfa8fba96a6af233d36cbe9b3d42832d6f071e50b (patch)
tree5fea90016b07fccc19d79e35b51287c026ac6bc2 /Lib/test
parentb2071f86844d24685cd916fe5955236f2685d75c (diff)
downloadcpython-fa8fba96a6af233d36cbe9b3d42832d6f071e50b.zip
cpython-fa8fba96a6af233d36cbe9b3d42832d6f071e50b.tar.gz
cpython-fa8fba96a6af233d36cbe9b3d42832d6f071e50b.tar.bz2
Merged revisions 69404 via svnmerge from
svn+ssh://pythondev/python/trunk ........ r69404 | guilherme.polo | 2009-02-07 00:20:29 -0200 (Sat, 07 Feb 2009) | 2 lines 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 fa20188..fa1727c 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 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 tkinter.ttk import __loadtk__
-Tk._loadtk = __loadtk__
-
class TkinterTest(unittest.TestCase):