MCPcopy Create free account
hub / github.com/RustPython/RustPython / TestBufferingFormatter

Class TestBufferingFormatter

Lib/test/test_logging.py:4857–4862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4855
4856
4857class TestBufferingFormatter(logging.BufferingFormatter):
4858 def formatHeader(self, records):
4859 return '[(%d)' % len(records)
4860
4861 def formatFooter(self, records):
4862 return '(%d)]' % len(records)
4863
4864class BufferingFormatterTest(unittest.TestCase):
4865 def setUp(self):

Callers 1

test_customMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_customMethod · 0.68