From 849e12bfe943be4f18f5d0e21087b1cb08d472dd Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 30 Oct 2010 14:24:33 +0000 Subject: [PATCH] Fix resource warning in test_unicodedata. Patch by Brian Brazil. --- Lib/test/test_unicodedata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py index fd8a4c6ffb..209b3e057a 100644 --- a/Lib/test/test_unicodedata.py +++ b/Lib/test/test_unicodedata.py @@ -225,6 +225,7 @@ class UnicodeMiscTest(UnicodeDatabaseTest): error = "SyntaxError: (unicode error) \\N escapes not supported " \ "(can't load unicodedata module)" self.assertIn(error, popen.stderr.read().decode("ascii")) + popen.stderr.close() def test_decimal_numeric_consistent(self): # Test that decimal and numeric are consistent, -- 2.40.0