[Python-checkins] cpython: Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4

andrew.svetlov python-checkins at python.org
Thu Aug 9 20:51:42 CEST 2012


http://hg.python.org/cpython/rev/20a46c73855f
changeset:   78482:20a46c73855f
parent:      78480:a979b005a814
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Thu Aug 09 21:51:21 2012 +0300
summary:
  Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4

files:
  Lib/tkinter/test/test_tkinter/test_variables.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/tkinter/test/test_tkinter/test_variables.py b/Lib/tkinter/test/test_tkinter/test_variables.py
--- a/Lib/tkinter/test/test_tkinter/test_variables.py
+++ b/Lib/tkinter/test/test_tkinter/test_variables.py
@@ -81,8 +81,8 @@
     def test_get(self):
         v = StringVar(self.root, "abc", "name")
         self.assertEqual("abc", v.get())
-        self.root.globalsetvar("name", True)
-        self.assertEqual("1", v.get())
+        self.root.globalsetvar("name", "value")
+        self.assertEqual("value", v.get())
 
 
 class TestIntVar(TestBase):

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


More information about the Python-checkins mailing list