#22650: test suite: load Unicode test data files from www.pythontest.net

This commit is contained in:
Georg Brandl 2014-11-06 14:37:49 +01:00
parent abd1c97bd2
commit 5a15508f97
7 changed files with 16 additions and 24 deletions

View file

@ -7,7 +7,7 @@ import os
from unicodedata import normalize, unidata_version
TESTDATAFILE = "NormalizationTest.txt"
TESTDATAURL = "http://www.unicode.org/Public/" + unidata_version + "/ucd/" + TESTDATAFILE
TESTDATAURL = "http://www.pythontest.net/unicode/" + unidata_version + "/" + TESTDATAFILE
def check_version(testfile):
hdr = testfile.readline()