summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_normalization.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_normalization.py b/Lib/test/test_normalization.py
index 13219e7..fa9611e 100644
--- a/Lib/test/test_normalization.py
+++ b/Lib/test/test_normalization.py
@@ -45,6 +45,7 @@ class NormalizationTest(unittest.TestCase):
check=check_version)
except (IOError, HTTPException):
self.skipTest("Could not retrieve " + TESTDATAURL)
+ self.addCleanup(testdata.close)
for line in testdata:
if '#' in line:
line = line.split('#')[0]