[Python-checkins] cpython (2.7): Fix buildbot failure

antoine.pitrou python-checkins at python.org
Sun Nov 17 21:27:27 CET 2013


http://hg.python.org/cpython/rev/c44643df7d2a
changeset:   87218:c44643df7d2a
branch:      2.7
parent:      87215:cc27c0aba18b
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sun Nov 17 21:27:20 2013 +0100
summary:
  Fix buildbot failure

files:
  Lib/lib-tk/test/test_ttk/test_extensions.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/lib-tk/test/test_ttk/test_extensions.py b/Lib/lib-tk/test/test_ttk/test_extensions.py
--- a/Lib/lib-tk/test/test_ttk/test_extensions.py
+++ b/Lib/lib-tk/test/test_ttk/test_extensions.py
@@ -45,7 +45,7 @@
         # 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):

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list