mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +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):
|
def test_skipunknown(self):
|
||||||
#Issue 2245
|
#Issue 2245
|
||||||
#This file contains chunk types aifc doesn't recognize.
|
#This file contains chunk types aifc doesn't recognize.
|
||||||
f = aifc.open(self.sndfilepath)
|
self.f = aifc.open(self.sndfilepath)
|
||||||
|
|
||||||
def test_params(self):
|
def test_params(self):
|
||||||
f = self.f = aifc.open(self.sndfilepath)
|
f = self.f = aifc.open(self.sndfilepath)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue