jgdv.testing.tempdir

See EOF for license/metadata/notes as applicable

Functions

wrap_tmp(tmp_path)

create a new temp directory, and change cwd to it,

Module Contents

jgdv.testing.tempdir.wrap_tmp(tmp_path) <Unknown>

create a new temp directory, and change cwd to it, returning to original cwd after the test

Parameters:

tmp_path (pathlib.Path)

Return type:

collections.abc.Generator[pathlib.Path]