We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c011ec4 commit 0360674Copy full SHA for 0360674
test/freetype_test.py
@@ -544,8 +544,7 @@ def test_freetype_Font_name(self):
544
f = self._TEST_FONTS["fixed"]
545
self.assertEqual(f.name, "Inconsolata")
546
547
- nf = nullfont()
548
- self.assertEqual(nf.name, repr(nf))
+ self.assertRaises(AttributeError, lambda: nullfont().name)
549
550
def test_freetype_Font_size(self):
551
f = ft.Font(None, size=12)
0 commit comments