Try to fix #4674: test_normalization failure on some buildbots.

This commit is contained in:
Antoine Pitrou 2008-12-16 14:25:45 +00:00
parent 0b24b3d951
commit 66cb9d576c
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ TESTDATAFILE = "NormalizationTest.txt"
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: