Mark failing tests for test_codecmaps_kr

This commit is contained in:
Lee Dogeon committed 2026-02-15 14:33:26 +09:00
1 parent 42455f3b93
commit 5012ae0e42
1 file changed
+12
+12
View File
@@ -11,6 +11,10 @@ class TestCP949Map(multibytecodec_support.TestBase_Mapping,
encoding = 'cp949'
mapfileurl = 'http://www.pythontest.net/unicode/CP949.TXT'
@unittest.expectedFailure # TODO: RUSTPYTHON; LookupError: unknown encoding: cp949
def test_mapping_file(self):
return super().test_mapping_file()
class TestEUCKRMap(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
@@ -21,6 +25,10 @@ class TestEUCKRMap(multibytecodec_support.TestBase_Mapping,
pass_enctest = [(b'\xa4\xd4', '\u3164')]
pass_dectest = [(b'\xa4\xd4', '\u3164')]
@unittest.expectedFailure # TODO: RUSTPYTHON; LookupError: unknown encoding: euc_kr
def test_mapping_file(self):
return super().test_mapping_file()
class TestJOHABMap(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
@@ -33,5 +41,9 @@ class TestJOHABMap(multibytecodec_support.TestBase_Mapping,
pass_enctest = [(b'\\', '\u20a9')]
pass_dectest = [(b'\\', '\u20a9')]
@unittest.expectedFailure # TODO: RUSTPYTHON; LookupError: unknown encoding: johab
def test_mapping_file(self):
return super().test_mapping_file()
if __name__ == "__main__":
unittest.main()