diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-30 14:24:33 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-30 14:24:33 (GMT) |
commit | 849e12bfe943be4f18f5d0e21087b1cb08d472dd (patch) | |
tree | 7883e515226734fa4750348c981f0dd8ae41b4e2 | |
parent | a6e9502ab9cdc35343bfa86e3676e7801ac733cb (diff) | |
download | cpython-849e12bfe943be4f18f5d0e21087b1cb08d472dd.zip cpython-849e12bfe943be4f18f5d0e21087b1cb08d472dd.tar.gz cpython-849e12bfe943be4f18f5d0e21087b1cb08d472dd.tar.bz2 |
Fix resource warning in test_unicodedata. Patch by Brian Brazil.
-rw-r--r-- | Lib/test/test_unicodedata.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py index fd8a4c6..209b3e0 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, |