[Python-checkins] r85978 - python/branches/py3k/Lib/test/test_unicodedata.py
antoine.pitrou
python-checkins at python.org
Sat Oct 30 16:24:33 CEST 2010
Author: antoine.pitrou
Date: Sat Oct 30 16:24:33 2010
New Revision: 85978
Log:
Fix resource warning in test_unicodedata. Patch by Brian Brazil.
Modified:
python/branches/py3k/Lib/test/test_unicodedata.py
Modified: python/branches/py3k/Lib/test/test_unicodedata.py
==============================================================================
--- python/branches/py3k/Lib/test/test_unicodedata.py (original)
+++ python/branches/py3k/Lib/test/test_unicodedata.py Sat Oct 30 16:24:33 2010
@@ -225,6 +225,7 @@
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,
More information about the Python-checkins
mailing list