mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
make sure to close file
This commit is contained in:
parent
a9b4d4777a
commit
7c7250da45
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue