diff options
author | Georg Brandl <georg@python.org> | 2014-11-06 13:37:49 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-06 13:37:49 (GMT) |
commit | 5a15508f978c1d6fd3f87b26c8c3605222b38f1a (patch) | |
tree | 4637ae8d39ae89af0af42c9eb26198e5355a2de1 /Lib/test/test_codecmaps_jp.py | |
parent | abd1c97bd26d9123ff73f49894b486ed263f1f57 (diff) | |
download | cpython-5a15508f978c1d6fd3f87b26c8c3605222b38f1a.zip cpython-5a15508f978c1d6fd3f87b26c8c3605222b38f1a.tar.gz cpython-5a15508f978c1d6fd3f87b26c8c3605222b38f1a.tar.bz2 |
#22650: test suite: load Unicode test data files from www.pythontest.net
Diffstat (limited to 'Lib/test/test_codecmaps_jp.py')
-rw-r--r-- | Lib/test/test_codecmaps_jp.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Lib/test/test_codecmaps_jp.py b/Lib/test/test_codecmaps_jp.py index 1c66d80..5773823 100644 --- a/Lib/test/test_codecmaps_jp.py +++ b/Lib/test/test_codecmaps_jp.py @@ -10,8 +10,7 @@ import unittest class TestCP932Map(multibytecodec_support.TestBase_Mapping, unittest.TestCase): encoding = 'cp932' - mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/' \ - 'WINDOWS/CP932.TXT' + mapfileurl = 'http://www.pythontest.net/unicode/CP932.TXT' supmaps = [ (b'\x80', '\u0080'), (b'\xa0', '\uf8f0'), @@ -27,15 +26,14 @@ class TestEUCJPCOMPATMap(multibytecodec_support.TestBase_Mapping, unittest.TestCase): encoding = 'euc_jp' mapfilename = 'EUC-JP.TXT' - mapfileurl = 'http://people.freebsd.org/~perky/i18n/EUC-JP.TXT' + mapfileurl = 'http://www.pythontest.net/unicode/EUC-JP.TXT' class TestSJISCOMPATMap(multibytecodec_support.TestBase_Mapping, unittest.TestCase): encoding = 'shift_jis' mapfilename = 'SHIFTJIS.TXT' - mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/OBSOLETE' \ - '/EASTASIA/JIS/SHIFTJIS.TXT' + mapfileurl = 'http://www.pythontest.net/unicode/SHIFTJIS.TXT' pass_enctest = [ (b'\x81_', '\\'), ] @@ -49,14 +47,14 @@ class TestEUCJISX0213Map(multibytecodec_support.TestBase_Mapping, unittest.TestCase): encoding = 'euc_jisx0213' mapfilename = 'EUC-JISX0213.TXT' - mapfileurl = 'http://people.freebsd.org/~perky/i18n/EUC-JISX0213.TXT' + mapfileurl = 'http://www.pythontest.net/unicode/EUC-JISX0213.TXT' class TestSJISX0213Map(multibytecodec_support.TestBase_Mapping, unittest.TestCase): encoding = 'shift_jisx0213' mapfilename = 'SHIFT_JISX0213.TXT' - mapfileurl = 'http://people.freebsd.org/~perky/i18n/SHIFT_JISX0213.TXT' + mapfileurl = 'http://www.pythontest.net/unicode/SHIFT_JISX0213.TXT' if __name__ == "__main__": |