mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Correct URL of normalization file. Fixes #781065. Will backport to 2.3.
This commit is contained in:
parent
cebcc61d4d
commit
8db4403a76
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ import sys
|
|||
import os
|
||||
from unicodedata import normalize
|
||||
|
||||
TESTDATAFILE = "NormalizationTest" + os.extsep + "txt"
|
||||
TESTDATAFILE = "NormalizationTest-3.2.0" + os.extsep + "txt"
|
||||
|
||||
# This search allows using a build directory just inside the source
|
||||
# directory, and saving just one copy of the test data in the source
|
||||
|
@ -42,7 +42,7 @@ def unistr(data):
|
|||
def test_main():
|
||||
if skip_expected:
|
||||
raise TestSkipped(TESTDATAFILE + " not found, download from " +
|
||||
"http://www.unicode.org/Public/UNIDATA/" + TESTDATAFILE)
|
||||
"http://www.unicode.org/Public/3.2-Update/" + TESTDATAFILE)
|
||||
|
||||
part1_data = {}
|
||||
for line in open(TESTDATAFILE):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue