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

Use tmp_path instead of tmpdir pytest fixture #145

Closed
jdavies-st opened this issue Feb 27, 2024 · 0 comments · Fixed by #146
Closed

Use tmp_path instead of tmpdir pytest fixture #145

jdavies-st opened this issue Feb 27, 2024 · 0 comments · Fixed by #146

Comments

@jdavies-st
Copy link
Contributor

jdavies-st commented Feb 27, 2024

Replace all instances thereof, and then in pyproject.toml:

[tool.pytest.ini_options]
addopts = [
    "-p no:legacypath",
]

This is will make the code more robust for use of pathlib.Path instances in the runtime code.

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 a pull request may close this issue.

1 participant