Issue #8344: Fix test_ttk bug on FreeBSD.

This commit is contained in:
Martin v. Löwis 2010-04-08 09:47:40 +00:00
parent 7591285fc3
commit 1b287c7434
2 changed files with 4 additions and 2 deletions

View 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))

View File

@ -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`.