Fix ResourceWarning that occur during tests
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Appear as: ResourceWarning: unclosed file ... Always close a file explicitly. Use a context manager to make this simpler.
authored by Jon Dufresne · committed by Jon Dufresne · parent b471d34 · Browse files · 1 file+7 added−6 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+7 added−6 removed
- tests:+7 added−6 removed