From 7c7250da45cb81d88d19087e135c94d48c94aee0 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 30 Apr 2009 00:06:33 +0000 Subject: [PATCH] make sure to close file --- Lib/test/test_aifc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.1