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

Method get_record

Lib/test/test_logging.py:4519–4523  ·  view source on GitHub ↗
(self, name=None)

Source from the content-addressed store, hash-verified

4517 }
4518
4519 def get_record(self, name=None):
4520 result = dict(self.common)
4521 if name is not None:
4522 result.update(self.variants[name])
4523 return logging.makeLogRecord(result)
4524
4525 def test_percent(self):
4526 # Test %-formatting

Callers 6

test_percentMethod · 0.95
test_bracesMethod · 0.95
test_dollarsMethod · 0.95
test_timeMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected