Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25a02d4

Browse files
committed
Issue #15601: fix tkinter test_variables failure with OS X Aqua Tk 8.4
1 parent 7dac74a commit 25a02d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/tkinter/test/test_tkinter/test_variables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def test_default(self):
8181
def test_get(self):
8282
v = StringVar(self.root, "abc", "name")
8383
self.assertEqual("abc", v.get())
84-
self.root.globalsetvar("name", True)
85-
self.assertEqual("1", v.get())
84+
self.root.globalsetvar("name", "value")
85+
self.assertEqual("value", v.get())
8686

8787

8888
class TestIntVar(TestBase):

0 commit comments

Comments
 (0)