spacetelescope / stpipe

https://stpipe.readthedocs.io
Other
3 stars 25 forks source link

Use tmp_path instead of tmpdir pytest fixture #145

Closed jdavies-st closed 6 months ago

jdavies-st commented 6 months ago

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.