MCPcopy Index your code
hub / github.com/python/cpython / make_temp_file

Function make_temp_file

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

Source from the content-addressed store, hash-verified

606
607
608def make_temp_file(*args, **kwargs):
609 fd, fn = tempfile.mkstemp(*args, **kwargs)
610 os.close(fd)
611 return fn
612
613
614class 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…