usnistgov / mass

Microcalorimeter pulse-analysis software
MIT License
6 stars 0 forks source link

Replace `tempfile` in tests with pytest preferred API #291

Closed joefowler closed 5 months ago

joefowler commented 5 months ago

Pytest has a tutorial How to use temporary directories and files in tests. The explicit creation of temporary dirs and files via package tempfile is not preferred. Nor is the previous Pytest system of tmpdir and tmpdir_factory. Instead, we should use

While we're modernizing our code, why not do that update, too?