summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecmaps_cn.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 13:37:49 (GMT)
committerGeorg Brandl <georg@python.org>2014-11-06 13:37:49 (GMT)
commit5a15508f978c1d6fd3f87b26c8c3605222b38f1a (patch)
tree4637ae8d39ae89af0af42c9eb26198e5355a2de1 /Lib/test/test_codecmaps_cn.py
parentabd1c97bd26d9123ff73f49894b486ed263f1f57 (diff)
downloadcpython-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_cn.py')
-rw-r--r--Lib/test/test_codecmaps_cn.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/Lib/test/test_codecmaps_cn.py b/Lib/test/test_codecmaps_cn.py
index 8b84c14..f1bd384 100644
--- a/Lib/test/test_codecmaps_cn.py
+++ b/Lib/test/test_codecmaps_cn.py
@@ -10,19 +10,17 @@ import unittest
class TestGB2312Map(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
encoding = 'gb2312'
- mapfileurl = 'http://people.freebsd.org/~perky/i18n/EUC-CN.TXT'
+ mapfileurl = 'http://www.pythontest.net/unicode/EUC-CN.TXT'
class TestGBKMap(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
encoding = 'gbk'
- mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/VENDORS/' \
- 'MICSFT/WINDOWS/CP936.TXT'
+ mapfileurl = 'http://www.pythontest.net/unicode/CP936.TXT'
class TestGB18030Map(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
encoding = 'gb18030'
- mapfileurl = 'http://source.icu-project.org/repos/icu/data/' \
- 'trunk/charset/data/xml/gb-18030-2000.xml'
+ mapfileurl = 'http://www.pythontest.net/unicode/gb-18030-2000.xml'
if __name__ == "__main__":