MCPcopy Create free account
hub / github.com/python/cpython / test_color

Method test_color

Lib/idlelib/idle_test/test_configdialog.py:402–408  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

400 self.assertEqual(d.paint_theme_sample.called, 1)
401
402 def test_color(self):
403 d = self.page
404 d.on_new_color_set = Func()
405 # self.color is only set in get_color through colorchooser.
406 d.color.set('green')
407 self.assertEqual(d.on_new_color_set.called, 1)
408 del d.on_new_color_set
409
410 def test_highlight_target_list_mouse(self):
411 # Set highlight_target through targetlist.

Callers

nothing calls this directly

Calls 3

FuncClass · 0.90
setMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected