Closed xrotwang closed 3 years ago
I propose to additionally accept pathlib.Path objects wherever file paths as str are accepted now. This makes tests simpler (when using pytest's tmp_path) and is also becoming the standard behaviour of most python stdlib modules.
pathlib.Path
str
tmp_path
I propose to additionally accept
pathlib.Path
objects wherever file paths asstr
are accepted now. This makes tests simpler (when using pytest'stmp_path
) and is also becoming the standard behaviour of most python stdlib modules.