diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2008-12-16 14:25:45 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-12-16 14:25:45 (GMT) |
commit | 66cb9d576c0a3cf148476997e69ebdb96708284d (patch) | |
tree | 85d0f761440bb5400961a1a4d41cd76597a7e76c /Lib/test/test_normalization.py | |
parent | 0b24b3d9511f8f838da4dfb9a59255aff5fcf72e (diff) | |
download | cpython-66cb9d576c0a3cf148476997e69ebdb96708284d.zip cpython-66cb9d576c0a3cf148476997e69ebdb96708284d.tar.gz cpython-66cb9d576c0a3cf148476997e69ebdb96708284d.tar.bz2 |
Try to fix #4674: test_normalization failure on some buildbots.
Diffstat (limited to 'Lib/test/test_normalization.py')
-rw-r--r-- | Lib/test/test_normalization.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_normalization.py b/Lib/test/test_normalization.py index 5884334..9e85e0a 100644 --- a/Lib/test/test_normalization.py +++ b/Lib/test/test_normalization.py @@ -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: |