Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ tmp_path
Method
tmp_path
Lib/test/test_runpy.py:819–821 ·
view source on GitHub ↗
(*args, **kwargs)
Source
from the content-addressed store, hash-verified
817
@staticmethod
818
@contextlib.contextmanager
819
def
tmp_path(*args, **kwargs):
820
with
temp_dir()
as
tmp_fn:
821
yield
pathlib.Path(tmp_fn)
822
823
824
def
run(self, *args, **kwargs):
Callers
3
run
Method · 0.95
test_unique_distributions
Method · 0.80
test_entry_points_unique_packages_normalized
Method · 0.80
Calls
1
temp_dir
Function · 0.90
Tested by
no test coverage detected