MCPcopy Index your code
hub / github.com/evalplus/evalplus / create_tempdir

Function create_tempdir

evalplus/eval/utils.py:56–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54
55@contextlib.contextmanager
56def create_tempdir():
57 with tempfile.TemporaryDirectory() as dirname:
58 with chdir(dirname):
59 yield dirname
60
61
62@contextlib.contextmanager

Callers 3

unsafe_executeFunction · 0.90
unsafe_executeFunction · 0.90

Calls 1

chdirFunction · 0.85

Tested by

no test coverage detected