Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: replace tmpdir fixture with tmp_path #127

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Apr 29, 2022

The tmpdir fixture provided by pytest has been deprecated and is
replaced by the tmp_path fixture.

Note that the tmpdir used to return an instance of LocalPath, a
class defined by pytest, but tmp_path returns an instance of
pathlib.Path from the standard library.

The `tmpdir` fixture provided by `pytest` has been deprecated and is
replaced by the `tmp_path` fixture.

Note that the `tmpdir` used to return an instance of `LocalPath`, a
class defined by `pytest`, but `tmp_path` returns an instance of
`pathlib.Path` from the standard library.
@sphuber sphuber merged commit 71a154f into master Apr 29, 2022
@sphuber sphuber deleted the fix/remove-use-tmpdir branch April 29, 2022 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant