diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-04-30 00:06:33 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-04-30 00:06:33 (GMT) |
commit | 7c7250da45cb81d88d19087e135c94d48c94aee0 (patch) | |
tree | 5fa014c01cb6147b92e8f45e115b5e98c6bb73c2 | |
parent | a9b4d4777a4018e7fcaa92b6e587992819501b5e (diff) | |
download | cpython-7c7250da45cb81d88d19087e135c94d48c94aee0.zip cpython-7c7250da45cb81d88d19087e135c94d48c94aee0.tar.gz cpython-7c7250da45cb81d88d19087e135c94d48c94aee0.tar.bz2 |
make sure to close file
-rw-r--r-- | Lib/test/test_aifc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_aifc.py b/Lib/test/test_aifc.py index 9fec392..0aed908 100644 --- a/Lib/test/test_aifc.py +++ b/Lib/test/test_aifc.py @@ -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) |