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

Method test_image_names

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

Source from the content-addressed store, hash-verified

36 self.assertRaises(RuntimeError, tkinter.image_types)
37
38 def test_image_names(self):
39 self.assertRaises(RuntimeError, tkinter.image_names)
40 root = tkinter.Tk()
41 image_names = tkinter.image_names()
42 self.assertIsInstance(image_names, tuple)
43 root.destroy()
44 tkinter.NoDefaultRoot()
45 self.assertRaises(RuntimeError, tkinter.image_names)
46
47 def test_image_create_bitmap(self):
48 self.assertRaises(RuntimeError, tkinter.BitmapImage)

Callers

nothing calls this directly

Calls 4

destroyMethod · 0.95
assertIsInstanceMethod · 0.80
assertRaisesMethod · 0.45
image_namesMethod · 0.45

Tested by

no test coverage detected