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

Function make_temp_file

Lib/test/test_logging.py:592–595  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

590
591
592def make_temp_file(*args, **kwargs):
593 fd, fn = tempfile.mkstemp(*args, **kwargs)
594 os.close(fd)
595 return fn
596
597
598class HandlerTest(BaseTest):

Callers 10

test_builtin_handlersMethod · 0.85
test_pathlike_objectsMethod · 0.85
test_raceMethod · 0.85
test_config8_okMethod · 0.85
test_config15_okMethod · 0.85
test_log_taskNameMethod · 0.85
setUpMethod · 0.85

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected