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

Method check_handler

Lib/test/test_logging.py:3334–3336  ·  view source on GitHub ↗
(self, name, cls)

Source from the content-addressed store, hash-verified

3332 logging.config.dictConfig(conf)
3333
3334 def check_handler(self, name, cls):
3335 h = logging.getHandlerByName(name)
3336 self.assertIsInstance(h, cls)
3337
3338 def test_config0_ok(self):
3339 # A simple config which overrides the default settings.

Callers 9

test_config0_okMethod · 0.95
test_config4_okMethod · 0.95
test_config5_okMethod · 0.95
test_config7_okMethod · 0.95
test_config_8_okMethod · 0.95
test_config_8a_okMethod · 0.95
test_config_9_okMethod · 0.95
test_config_10_okMethod · 0.95

Calls 1

assertIsInstanceMethod · 0.80

Tested by

no test coverage detected