Skip to content

Use pytest's tmp_path fixture instead of tempfile #4837

Open
@Saransh-cpp

Description

https://github.com/search?q=repo%3Apybamm-team%2FPyBaMM%20tempfile&type=code marks all the occurrences of tempfile imports. These should be replaced with pytest's tmp_path fixture to maintain uniformity and reduce redundant imports.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

difficulty: easyA good issue for someone new. Can be done in a few hourspriority: lowNo existing plans to resolverefactorrefactoring existing code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions