Fix resource warning in test_unicodedata. Patch by Brian Brazil.

This commit is contained in:
Antoine Pitrou 2010-10-30 14:24:33 +00:00
parent a6e9502ab9
commit 849e12bfe9
1 changed files with 1 additions and 0 deletions

View File

@ -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,