Commit 898e601
committed
Close cache file properly
Fixes (reported by python 3.6):
Exception ignored in: <_io.FileIO name='/Users/michkapopoff/repo/pygccxml/unittests/data/new_cache.cache' mode='rb' closefd=True>
ResourceWarning: unclosed file <_io.BufferedReader name='/Users/michkapopoff/repo/pygccxml/unittests/data/new_cache.cache'>1 parent 483f597 commit 898e601
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
| |||
0 commit comments