]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecencodings_kr.py
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.2 / Lib / test / test_codecencodings_kr.py
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecencodings_kr.py b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/test_codecencodings_kr.py
deleted file mode 100644 (file)
index f64f90e..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/usr/bin/env python\r
-#\r
-# test_codecencodings_kr.py\r
-#   Codec encoding tests for ROK encodings.\r
-#\r
-\r
-from test import test_support\r
-from test import test_multibytecodec_support\r
-import unittest\r
-\r
-class Test_CP949(test_multibytecodec_support.TestBase, unittest.TestCase):\r
-    encoding = 'cp949'\r
-    tstring = test_multibytecodec_support.load_teststring('cp949')\r
-    codectests = (\r
-        # invalid bytes\r
-        ("abc\x80\x80\xc1\xc4", "strict",  None),\r
-        ("abc\xc8", "strict",  None),\r
-        ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\uc894"),\r
-        ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\uc894\ufffd"),\r
-        ("abc\x80\x80\xc1\xc4", "ignore",  u"abc\uc894"),\r
-    )\r
-\r
-class Test_EUCKR(test_multibytecodec_support.TestBase, unittest.TestCase):\r
-    encoding = 'euc_kr'\r
-    tstring = test_multibytecodec_support.load_teststring('euc_kr')\r
-    codectests = (\r
-        # invalid bytes\r
-        ("abc\x80\x80\xc1\xc4", "strict",  None),\r
-        ("abc\xc8", "strict",  None),\r
-        ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\uc894"),\r
-        ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\uc894\ufffd"),\r
-        ("abc\x80\x80\xc1\xc4", "ignore",  u"abc\uc894"),\r
-\r
-        # composed make-up sequence errors\r
-        ("\xa4\xd4", "strict", None),\r
-        ("\xa4\xd4\xa4", "strict", None),\r
-        ("\xa4\xd4\xa4\xb6", "strict", None),\r
-        ("\xa4\xd4\xa4\xb6\xa4", "strict", None),\r
-        ("\xa4\xd4\xa4\xb6\xa4\xd0", "strict", None),\r
-        ("\xa4\xd4\xa4\xb6\xa4\xd0\xa4", "strict", None),\r
-        ("\xa4\xd4\xa4\xb6\xa4\xd0\xa4\xd4", "strict", u"\uc4d4"),\r
-        ("\xa4\xd4\xa4\xb6\xa4\xd0\xa4\xd4x", "strict", u"\uc4d4x"),\r
-        ("a\xa4\xd4\xa4\xb6\xa4", "replace", u"a\ufffd"),\r
-        ("\xa4\xd4\xa3\xb6\xa4\xd0\xa4\xd4", "strict", None),\r
-        ("\xa4\xd4\xa4\xb6\xa3\xd0\xa4\xd4", "strict", None),\r
-        ("\xa4\xd4\xa4\xb6\xa4\xd0\xa3\xd4", "strict", None),\r
-        ("\xa4\xd4\xa4\xff\xa4\xd0\xa4\xd4", "replace", u"\ufffd"),\r
-        ("\xa4\xd4\xa4\xb6\xa4\xff\xa4\xd4", "replace", u"\ufffd"),\r
-        ("\xa4\xd4\xa4\xb6\xa4\xd0\xa4\xff", "replace", u"\ufffd"),\r
-        ("\xc1\xc4", "strict", u"\uc894"),\r
-    )\r
-\r
-class Test_JOHAB(test_multibytecodec_support.TestBase, unittest.TestCase):\r
-    encoding = 'johab'\r
-    tstring = test_multibytecodec_support.load_teststring('johab')\r
-    codectests = (\r
-        # invalid bytes\r
-        ("abc\x80\x80\xc1\xc4", "strict",  None),\r
-        ("abc\xc8", "strict",  None),\r
-        ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\ucd27"),\r
-        ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\ucd27\ufffd"),\r
-        ("abc\x80\x80\xc1\xc4", "ignore",  u"abc\ucd27"),\r
-    )\r
-\r
-def test_main():\r
-    test_support.run_unittest(__name__)\r
-\r
-if __name__ == "__main__":\r
-    test_main()\r