make sure to close file

This commit is contained in:
Benjamin Peterson 2009-04-30 00:06:33 +00:00
parent a9b4d4777a
commit 7c7250da45

View file

@ -27,7 +27,7 @@ class AIFCTest(unittest.TestCase):
def test_skipunknown(self):
#Issue 2245
#This file contains chunk types aifc doesn't recognize.
f = aifc.open(self.sndfilepath)
self.f = aifc.open(self.sndfilepath)
def test_params(self):
f = self.f = aifc.open(self.sndfilepath)