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

Method setUp

Lib/test/test_logging.py:481–484  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

479 expected_log_pat = r"^[\w.]+ -> (\w+): (\d+)$"
480
481 def setUp(self):
482 BaseTest.setUp(self)
483 for k, v in my_logging_levels.items():
484 logging.addLevelName(k, v)
485
486 def log_at_all_levels(self, logger):
487 for lvl in LEVEL_RANGE:

Callers

nothing calls this directly

Calls 2

setUpMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected