Kaydet (Commit) 849e12bf authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix resource warning in test_unicodedata. Patch by Brian Brazil.

üst a6e9502a
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment