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

Method test_dialog_logo

Lib/idlelib/idle_test/test_help_about.py:45–49  ·  view source on GitHub ↗

Test about dialog logo.

(self)

Source from the content-addressed store, hash-verified

43 self.assertEqual(self.dialog.title(), 'About IDLE')
44
45 def test_dialog_logo(self):
46 """Test about dialog logo."""
47 path, file = os.path.split(self.dialog.icon_image['file'])
48 fn, ext = os.path.splitext(file)
49 self.assertEqual(fn, 'idle_48')
50
51 def test_printer_buttons(self):
52 """Test buttons whose commands use printer function."""

Callers

nothing calls this directly

Calls 3

splitextMethod · 0.80
splitMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected