Use the tmpdir fixture for tests that create files#995
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #995 +/- ##
==========================================
- Coverage 93.67% 93.49% -0.19%
==========================================
Files 56 56
Lines 2704 2704
==========================================
- Hits 2533 2528 -5
- Misses 171 176 +5 ☔ View full report in Codecov by Sentry. |
d-perl
left a comment
There was a problem hiding this comment.
I didn't know about this fixture, this does seem nice!
It doesn't seem like your temp_directory fixture is doing anything different to the builtin tmpdir? so I think we can just use that. Also in that case you can delete the .../test_data/scratch directory and .gitignore entries
|
thanks, didnt see it was in the gitignore |
|
Nit: Can you tidy up the PR name to make more sense to a user please? |
Fixes #994
To test: