mirror of https://github.com/python/cpython
Fix resource warning in test_unicodedata. Patch by Brian Brazil.
This commit is contained in:
parent
a6e9502ab9
commit
849e12bfe9
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue