Fix some "resource usage" warnings for unclosed files in tests when running in a CPython debug build.
Fix some "resource usage" warnings for unclosed files in tests when running in a CPython debug build.

cython/cython,scoder/cython,scoder/cython,da-woods/cython,scoder/cython,da-woods/cython,cython/cython,da-woods/cython,scoder/cython,da-woods/cython,cython/cython,cython/cython