Commit 1b287c74 authored by Martin v. Löwis's avatar Martin v. Löwis

Issue #8344: Fix test_ttk bug on FreeBSD.

parent 7591285f
...@@ -1112,9 +1112,9 @@ class TreeviewTest(unittest.TestCase): ...@@ -1112,9 +1112,9 @@ class TreeviewTest(unittest.TestCase):
self.assertRaises(Tkinter.TclError, self.tv.tag_configure, self.assertRaises(Tkinter.TclError, self.tv.tag_configure,
'test', sky='blue') 'test', sky='blue')
self.tv.tag_configure('test', foreground='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') 'blue')
self.assertEqual(self.tv.tag_configure('test', foreground=None), self.assertEqual(str(self.tv.tag_configure('test', foreground=None)),
'blue') 'blue')
self.assertTrue(isinstance(self.tv.tag_configure('test'), dict)) self.assertTrue(isinstance(self.tv.tag_configure('test'), dict))
......
...@@ -58,6 +58,8 @@ Core and Builtins ...@@ -58,6 +58,8 @@ Core and Builtins
Library Library
------- -------
- Issue #8344: Fix test_ttk bug on FreeBSD.
- Issue #8321: Give access to OpenSSL version numbers from the `ssl` module, - Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO` using the new attributes `ssl.OPENSSL_VERSION`, `ssl.OPENSSL_VERSION_INFO`
and `ssl.OPENSSL_VERSION_NUMBER`. and `ssl.OPENSSL_VERSION_NUMBER`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment