10
10
class TestCP932Map (multibytecodec_support .TestBase_Mapping ,
11
11
unittest .TestCase ):
12
12
encoding = 'cp932'
13
- mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/' \
14
- 'WINDOWS/CP932.TXT'
13
+ mapfileurl = 'http://www.pythontest.net/unicode/CP932.TXT'
15
14
supmaps = [
16
15
(b'\x80 ' , '\u0080 ' ),
17
16
(b'\xa0 ' , '\uf8f0 ' ),
@@ -27,15 +26,14 @@ class TestEUCJPCOMPATMap(multibytecodec_support.TestBase_Mapping,
27
26
unittest .TestCase ):
28
27
encoding = 'euc_jp'
29
28
mapfilename = 'EUC-JP.TXT'
30
- mapfileurl = 'http://people.freebsd.org/~perky/i18n /EUC-JP.TXT'
29
+ mapfileurl = 'http://www.pythontest.net/unicode /EUC-JP.TXT'
31
30
32
31
33
32
class TestSJISCOMPATMap (multibytecodec_support .TestBase_Mapping ,
34
33
unittest .TestCase ):
35
34
encoding = 'shift_jis'
36
35
mapfilename = 'SHIFTJIS.TXT'
37
- mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/OBSOLETE' \
38
- '/EASTASIA/JIS/SHIFTJIS.TXT'
36
+ mapfileurl = 'http://www.pythontest.net/unicode/SHIFTJIS.TXT'
39
37
pass_enctest = [
40
38
(b'\x81 _' , '\\ ' ),
41
39
]
@@ -49,14 +47,14 @@ class TestEUCJISX0213Map(multibytecodec_support.TestBase_Mapping,
49
47
unittest .TestCase ):
50
48
encoding = 'euc_jisx0213'
51
49
mapfilename = 'EUC-JISX0213.TXT'
52
- mapfileurl = 'http://people.freebsd.org/~perky/i18n /EUC-JISX0213.TXT'
50
+ mapfileurl = 'http://www.pythontest.net/unicode /EUC-JISX0213.TXT'
53
51
54
52
55
53
class TestSJISX0213Map (multibytecodec_support .TestBase_Mapping ,
56
54
unittest .TestCase ):
57
55
encoding = 'shift_jisx0213'
58
56
mapfilename = 'SHIFT_JISX0213.TXT'
59
- mapfileurl = 'http://people.freebsd.org/~perky/i18n /SHIFT_JISX0213.TXT'
57
+ mapfileurl = 'http://www.pythontest.net/unicode /SHIFT_JISX0213.TXT'
60
58
61
59
62
60
if __name__ == "__main__" :
0 commit comments