From 25a02d403c688c5a0042804e81de33db2daab352 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Thu, 9 Aug 2012 21:51:21 +0300 Subject: Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4 --- Lib/tkinter/test/test_tkinter/test_variables.py | 4 ++-- 1 file 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 index 8db7aca..378cc92 100644 --- a/Lib/tkinter/test/test_tkinter/test_variables.py +++ b/Lib/tkinter/test/test_tkinter/test_variables.py @@ -81,8 +81,8 @@ class TestStringVar(TestBase): 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): -- cgit v0.12