Fix buildbot failure

This commit is contained in:
Antoine Pitrou 2013-11-17 21:27:20 +01:00
parent 4645bb61fa
commit ca035a8b66
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class LabeledScaleTest(unittest.TestCase):
# it tries calling instance attributes not yet defined.
ttk.LabeledScale(variable=myvar)
if hasattr(sys, 'last_type'):
self.assertNotEqual(sys.last_type, tkinter.TclError)
self.assertNotEqual(sys.last_type, Tkinter.TclError)
def test_initialization(self):