diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-22 14:53:16 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-22 14:53:16 (GMT) |
commit | b445558d8444199deea0e0745db6512930777bd8 (patch) | |
tree | df867a0034314cbea656be119eb597450fb3cad4 /Lib/lib-tk/test | |
parent | 2ac1c1a31dbd8533b6cd3b6ea9936e4068ad0198 (diff) | |
download | cpython-b445558d8444199deea0e0745db6512930777bd8.zip cpython-b445558d8444199deea0e0745db6512930777bd8.tar.gz cpython-b445558d8444199deea0e0745db6512930777bd8.tar.bz2 |
Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.
Diffstat (limited to 'Lib/lib-tk/test')
-rw-r--r-- | Lib/lib-tk/test/test_ttk/test_widgets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/test/test_ttk/test_widgets.py b/Lib/lib-tk/test/test_ttk/test_widgets.py index 2fcb3fa..c594602 100644 --- a/Lib/lib-tk/test/test_ttk/test_widgets.py +++ b/Lib/lib-tk/test/test_ttk/test_widgets.py @@ -104,7 +104,7 @@ class CheckbuttonTest(unittest.TestCase): cbtn['command'] = '' res = cbtn.invoke() - self.assertEqual(res, '') + self.assertEqual(str(res), '') self.assertFalse(len(success) > 1) self.assertEqual(cbtn['offvalue'], cbtn.tk.globalgetvar(cbtn['variable'])) @@ -452,7 +452,7 @@ class RadiobuttonTest(unittest.TestCase): cbtn2['command'] = '' res = cbtn2.invoke() - self.assertEqual(res, '') + self.assertEqual(str(res), '') self.assertFalse(len(success) > 1) self.assertEqual(cbtn2['value'], myvar.get()) self.assertEqual(myvar.get(), |