mirror of https://github.com/python/cpython
Try to fix #4674: test_normalization failure on some buildbots.
This commit is contained in:
parent
0b24b3d951
commit
66cb9d576c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue