MCPcopy Index your code
hub / github.com/RustPython/RustPython / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

463 expected_log_pat = r"^[\w.]+ -> (\w+): (\d+)$"
464
465 def setUp(self):
466 BaseTest.setUp(self)
467 for k, v in my_logging_levels.items():
468 logging.addLevelName(k, v)
469
470 def log_at_all_levels(self, logger):
471 for lvl in LEVEL_RANGE:

Callers

nothing calls this directly

Calls 2

setUpMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected