
python-checkins at python
Aug 9, 2012, 11:51 AM
Post #1 of 1
(35 views)
Permalink
|
|
cpython: Issue #15601: fix tkinter test variables failure with OS X Aqua Tk 8.4
|
|
http://hg.python.org/cpython/rev/20a46c73855f changeset: 78482:20a46c73855f parent: 78480:a979b005a814 user: Andrew Svetlov <andrew.svetlov [at] gmail> 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
|