[Python-checkins] r67815 - in python/branches/release30-maint: Lib/test/test_normalization.py
antoine.pitrou
python-checkins at python.org
Tue Dec 16 16:23:13 CET 2008
Author: antoine.pitrou
Date: Tue Dec 16 16:23:10 2008
New Revision: 67815
Log:
Merged revisions 67814 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r67814 | antoine.pitrou | 2008-12-16 15:25:45 +0100 (mar., 16 déc. 2008) | 3 lines
Try to fix #4674: test_normalization failure on some buildbots.
........
Modified:
python/branches/release30-maint/ (props changed)
python/branches/release30-maint/Lib/test/test_normalization.py
Modified: python/branches/release30-maint/Lib/test/test_normalization.py
==============================================================================
--- python/branches/release30-maint/Lib/test/test_normalization.py (original)
+++ python/branches/release30-maint/Lib/test/test_normalization.py Tue Dec 16 16:23:10 2008
@@ -9,7 +9,7 @@
TESTDATAURL = "http://www.unicode.org/Public/" + unidata_version + "/ucd/" + TESTDATAFILE
if os.path.exists(TESTDATAFILE):
- f = open(TESTDATAFILE)
+ f = open(TESTDATAFILE, encoding='utf-8')
l = f.readline()
f.close()
if not unidata_version in l:
More information about the Python-checkins
mailing list