[Python-checkins] r79903 - in python/trunk: Lib/lib-tk/test/test_ttk/test_widgets.py Misc/NEWS

martin.v.loewis python-checkins at python.org
Thu Apr 8 11:47:40 CEST 2010


Author: martin.v.loewis
Date: Thu Apr  8 11:47:40 2010
New Revision: 79903

Log:
Issue #8344: Fix test_ttk bug on FreeBSD.


Modified:
   python/trunk/Lib/lib-tk/test/test_ttk/test_widgets.py
   python/trunk/Misc/NEWS

Modified: python/trunk/Lib/lib-tk/test/test_ttk/test_widgets.py
==============================================================================
--- python/trunk/Lib/lib-tk/test/test_ttk/test_widgets.py	(original)
+++ python/trunk/Lib/lib-tk/test/test_ttk/test_widgets.py	Thu Apr  8 11:47:40 2010
@@ -1112,9 +1112,9 @@
         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))
 

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Thu Apr  8 11:47:40 2010
@@ -58,6 +58,8 @@
 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`.


More information about the Python-checkins mailing list