diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-22 14:51:58 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-22 14:51:58 (GMT) |
commit | 06ce077e4327e35f5a198b143d9d95a00abb782a (patch) | |
tree | a8b9e17c4fe83b256ead185f7ca97aaec8ca3847 /Lib/tkinter/test/test_ttk | |
parent | 203eb317d23a1b7dcdf5ca3131df7008e251d423 (diff) | |
download | cpython-06ce077e4327e35f5a198b143d9d95a00abb782a.zip cpython-06ce077e4327e35f5a198b143d9d95a00abb782a.tar.gz cpython-06ce077e4327e35f5a198b143d9d95a00abb782a.tar.bz2 |
Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.
Diffstat (limited to 'Lib/tkinter/test/test_ttk')
-rw-r--r-- | Lib/tkinter/test/test_ttk/test_widgets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/tkinter/test/test_ttk/test_widgets.py b/Lib/tkinter/test/test_ttk/test_widgets.py index 45a686a..890787b 100644 --- a/Lib/tkinter/test/test_ttk/test_widgets.py +++ b/Lib/tkinter/test/test_ttk/test_widgets.py @@ -105,7 +105,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'])) @@ -453,7 +453,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(), |