def test_freetype_Font_path(self):
self.assertEqual(self._TEST_FONTS['sans'].path, self._sans_path)
self.assertRaises(AttributeError, getattr, nullfont(), 'path')
# This Font cache test is conditional on freetype being built by a debug
# version of Python or with the C macro PGFT_DEBUG_CACHE defined.
评论列表
文章目录