summaryrefslogtreecommitdiff
path: root/Lib/test/test_codecmaps_kr.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-06 14:37:49 +0100
committerGeorg Brandl <georg@python.org>2014-11-06 14:37:49 +0100
commit5a15508f978c1d6fd3f87b26c8c3605222b38f1a (patch)
tree4637ae8d39ae89af0af42c9eb26198e5355a2de1 /Lib/test/test_codecmaps_kr.py
parentabd1c97bd26d9123ff73f49894b486ed263f1f57 (diff)
downloadcpython-git-5a15508f978c1d6fd3f87b26c8c3605222b38f1a.tar.gz
#22650: test suite: load Unicode test data files from www.pythontest.net
Diffstat (limited to 'Lib/test/test_codecmaps_kr.py')
-rw-r--r--Lib/test/test_codecmaps_kr.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/Lib/test/test_codecmaps_kr.py b/Lib/test/test_codecmaps_kr.py
index 404d74edf3..6cb41c8b29 100644
--- a/Lib/test/test_codecmaps_kr.py
+++ b/Lib/test/test_codecmaps_kr.py
@@ -10,14 +10,13 @@ import unittest
class TestCP949Map(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
encoding = 'cp949'
- mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT' \
- '/WINDOWS/CP949.TXT'
+ mapfileurl = 'http://www.pythontest.net/unicode/CP949.TXT'
class TestEUCKRMap(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
encoding = 'euc_kr'
- mapfileurl = 'http://people.freebsd.org/~perky/i18n/EUC-KR.TXT'
+ mapfileurl = 'http://www.pythontest.net/unicode/EUC-KR.TXT'
# A4D4 HANGUL FILLER indicates the begin of 8-bytes make-up sequence.
pass_enctest = [(b'\xa4\xd4', '\u3164')]
@@ -27,8 +26,7 @@ class TestEUCKRMap(multibytecodec_support.TestBase_Mapping,
class TestJOHABMap(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
encoding = 'johab'
- mapfileurl = 'http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/' \
- 'KSC/JOHAB.TXT'
+ mapfileurl = 'http://www.pythontest.net/unicode/JOHAB.TXT'
# KS X 1001 standard assigned 0x5c as WON SIGN.
# but, in early 90s that is the only era used johab widely,
# the most softwares implements it as REVERSE SOLIDUS.