-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
tmp_path and tmpdir doesn't share the same temporary directory. #4680
Copy link
Copy link
Closed
Labels
plugin: tmpdirrelated to the tmpdir builtin pluginrelated to the tmpdir builtin pluginstatus: criticalgrave problem or usability issue that affects lots of usersgrave problem or usability issue that affects lots of userstype: bugproblem that needs to be addressedproblem that needs to be addressedtype: feature-branchnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Milestone
Metadata
Metadata
Assignees
Labels
plugin: tmpdirrelated to the tmpdir builtin pluginrelated to the tmpdir builtin pluginstatus: criticalgrave problem or usability issue that affects lots of usersgrave problem or usability issue that affects lots of userstype: bugproblem that needs to be addressedproblem that needs to be addressedtype: feature-branchnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Done
I'm not sure if this is a bug.
The temporary directories created by
tmp_pathandtmpdirfor the same test item are disjoint. Check example which also shows what kind of test I wanted to write (objects which use the paths are removed).I expected that the fixtures will operate on the same directory.
pip listof the virtual environment you are using4.20.1-arch1-1-ARCH