diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-04-30 00:06:33 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-04-30 00:06:33 +0000 |
commit | 7c7250da45cb81d88d19087e135c94d48c94aee0 (patch) | |
tree | 5fa014c01cb6147b92e8f45e115b5e98c6bb73c2 /Lib/test/test_aifc.py | |
parent | a9b4d4777a4018e7fcaa92b6e587992819501b5e (diff) | |
download | cpython-git-7c7250da45cb81d88d19087e135c94d48c94aee0.tar.gz |
make sure to close file
Diffstat (limited to 'Lib/test/test_aifc.py')
-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 9fec392f84..0aed908005 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) |