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

Method namer

Lib/test/test_logging.py:6302–6303  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

6300
6301 def test_rollover_filenames(self):
6302 def namer(name):
6303 return name + ".test"
6304 rh = logging.handlers.RotatingFileHandler(
6305 self.fn, encoding="utf-8", backupCount=2, maxBytes=1)
6306 rh.namer = namer

Callers 2

rotation_filenameMethod · 0.45
getFilesToDeleteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected