mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix resource warning in test_unicodedata. Patch by Brian Brazil.
This commit is contained in:
parent
a6e9502ab9
commit
849e12bfe9
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue