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

Method test_measure

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

Source from the content-addressed store, hash-verified

82 self.assertNotEqual(font1, font3)
83
84 def test_measure(self):
85 self.assertIsInstance(self.font.measure('abc'), int)
86
87 def test_metrics(self):
88 metrics = self.font.metrics()

Callers

nothing calls this directly

Calls 2

assertIsInstanceMethod · 0.80
measureMethod · 0.45

Tested by

no test coverage detected