Issue #8344: Fix test_ttk bug on FreeBSD.
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 @@
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))
diff --git a/Misc/NEWS b/Misc/NEWS
index 3bd058d..1630e88 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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`.