Fix resource warning in test_file. Patch by Brian Brazil.
Fix resource warning in test_file. Patch by Brian Brazil.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator