Commits

Martin von Löwis committed 8227b64

Issue #8344: Fix test_ttk bug on FreeBSD.

  • Participants
  • Parent commits 7660c53
  • Branches legacy-trunk

Comments (0)

Files changed (2)

File Lib/lib-tk/test/test_ttk/test_widgets.py

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