summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-08-09 18:51:21 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-08-09 18:51:21 (GMT)
commit25a02d403c688c5a0042804e81de33db2daab352 (patch)
tree4500a03ceed23507e660a8602d690648615381ab
parent7dac74a0ca80831099503fda1aadbba56bb855b6 (diff)
downloadcpython-25a02d403c688c5a0042804e81de33db2daab352.zip
cpython-25a02d403c688c5a0042804e81de33db2daab352.tar.gz
cpython-25a02d403c688c5a0042804e81de33db2daab352.tar.bz2
Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4
-rw-r--r--Lib/tkinter/test/test_tkinter/test_variables.py4
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
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):