]> granicus.if.org Git - python/commitdiff
Issue #8344: Fix test_ttk bug on FreeBSD.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 8 Apr 2010 09:47:40 +0000 (09:47 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 8 Apr 2010 09:47:40 +0000 (09:47 +0000)
Lib/lib-tk/test/test_ttk/test_widgets.py
Misc/NEWS

index 6cf040ce36f3c1c1ce3500266196e895a49f1b26..4b97a0ec54f8cb2a2438c72769880034badc11b8 100644 (file)
@@ -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))
 
index 3bd058d7815f822e8a8441c01bb8308ee96db0e4..1630e8807b372aaeb170fa955a5ba477acc8a61e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -58,6 +58,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #8344: Fix test_ttk bug on FreeBSD.
+
 - Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
   using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
   and `ssl.OPENSSL_VERSION_NUMBER`.