Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
608
def
make_temp_file(*args, **kwargs):
609
fd, fn = tempfile.mkstemp(*args, **kwargs)
610
os.close(fd)
611
return
fn
612
613
614
class
HandlerTest(BaseTest):
Callers
10
test_builtin_handlers
Method · 0.85
test_pathlike_objects
Method · 0.85
test_race
Method · 0.85
test_config8_ok
Method · 0.85
test_encoding_plain_file
Method · 0.85
test_config15_ok
Method · 0.85
do_queuehandler_configuration
Method · 0.85
test_multiprocessing_queues
Method · 0.85
test_log_taskName
Method · 0.85
setUp
Method · 0.85
Calls
1
close
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…