MCPcopy Index your code
hub / github.com/python/cpython / test_unicode_family

Method test_unicode_family

Lib/test/test_tkinter/test_font.py:40–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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()

Callers

nothing calls this directly

Calls 3

cgetMethod · 0.95
gc_collectFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected