(self)
| 38 | self.assertIsInstance(self.font[key], sizetype) |
| 39 | |
| 40 | def test_unicode_family(self): |
| 41 | family = 'MS \u30b4\u30b7\u30c3\u30af' |
| 42 | try: |
| 43 | f = font.Font(root=self.root, family=family, exists=True) |
| 44 | except tkinter.TclError: |
| 45 | f = font.Font(root=self.root, family=family, exists=False) |
| 46 | self.assertEqual(f.cget('family'), family) |
| 47 | del f |
| 48 | gc_collect() |
| 49 | |
| 50 | def test_actual(self): |
| 51 | options = self.font.actual() |
nothing calls this directly
no test coverage detected