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

Method test_blank

Lib/test/test_tkinter/test_images.py:302–307  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 self.assertEqual(image['palette'], '3/4/2')
301
302 def test_blank(self):
303 image = self.create()
304 image.blank()
305 self.assertEqual(image.width(), 16)
306 self.assertEqual(image.height(), 16)
307 self.assertEqual(image.get(4, 6), self.colorlist(0, 0, 0))
308
309 def test_copy(self):
310 image = self.create()

Callers

nothing calls this directly

Calls 7

colorlistMethod · 0.95
blankMethod · 0.80
heightMethod · 0.80
createMethod · 0.45
assertEqualMethod · 0.45
widthMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected