mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Try to fix #4674: test_normalization failure on some buildbots.
This commit is contained in:
parent
0b24b3d951
commit
66cb9d576c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue