Skip to content

Introduce tmp_path fixture #3985

Closed
Closed
@nicoddemus

Description

@nicoddemus

After the excellent brain-storming with @gaborbernat in #2230 (comment), I came to realize we already depend now on pathlib2, so we could already introduce a new tmp_path fixture which works exactly like tmpdir, but returns a pathlib.Path instance.

Even if we don't ever adopt the pathlib-switch discussed in #2230, still seems like a good idea given that pathlib is part of the standard library, so makes perfect sense.

Metadata

Metadata

Labels

good first issueeasy issue that is friendly to new contributortype: enhancementnew feature or API change, should be merged into features branchtype: feature-branchnew feature or API change, should be merged into features branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions