diff options
Diffstat (limited to 'Lib/tkinter')
-rw-r--r-- | 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 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): |