summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/test
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2010-04-08 09:47:40 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2010-04-08 09:47:40 (GMT)
commit1b287c7434180677fc0251ebe209a8e091cb887f (patch)
tree4e27ff85381f17eb31fbfd9a99d13ab3870fc8d6 /Lib/lib-tk/test
parent7591285fc31a84899370802c7f551afdaa386f74 (diff)
downloadcpython-1b287c7434180677fc0251ebe209a8e091cb887f.zip
cpython-1b287c7434180677fc0251ebe209a8e091cb887f.tar.gz
cpython-1b287c7434180677fc0251ebe209a8e091cb887f.tar.bz2
Issue #8344: Fix test_ttk bug on FreeBSD.
Diffstat (limited to 'Lib/lib-tk/test')
-rw-r--r--Lib/lib-tk/test/test_ttk/test_widgets.py4
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 6cf040c..4b97a0e 100644
--- a/Lib/lib-tk/test/test_ttk/test_widgets.py
+++ b/Lib/lib-tk/test/test_ttk/test_widgets.py
@@ -1112,9 +1112,9 @@ class TreeviewTest(unittest.TestCase):
self.assertRaises(Tkinter.TclError, self.tv.tag_configure,
'test', sky='blue')
self.tv.tag_configure('test', foreground='blue')
- self.assertEqual(self.tv.tag_configure('test', 'foreground'),
+ self.assertEqual(str(self.tv.tag_configure('test', 'foreground')),
'blue')
- self.assertEqual(self.tv.tag_configure('test', foreground=None),
+ self.assertEqual(str(self.tv.tag_configure('test', foreground=None)),
'blue')
self.assertTrue(isinstance(self.tv.tag_configure('test'), dict))