Mark failing tests for test_codecmaps_tw

This commit is contained in:
Lee Dogeon committed 2026-02-15 14:33:37 +09:00
1 parent c076059462
commit 2fee84e38a
1 file changed
+12
+12
View File
@@ -11,6 +11,10 @@ class TestBIG5Map(multibytecodec_support.TestBase_Mapping,
encoding = 'big5'
mapfileurl = 'http://www.pythontest.net/unicode/BIG5.TXT'
@unittest.expectedFailure # TODO: RUSTPYTHON; LookupError: unknown encoding: big5
def test_mapping_file(self):
return super().test_mapping_file()
class TestCP950Map(multibytecodec_support.TestBase_Mapping,
unittest.TestCase):
encoding = 'cp950'
@@ -23,5 +27,13 @@ class TestCP950Map(multibytecodec_support.TestBase_Mapping,
(b"\xFFxy", "replace", "\ufffdxy"),
)
@unittest.expectedFailure # TODO: RUSTPYTHON; LookupError: unknown encoding: cp950
def test_errorhandle(self):
return super().test_errorhandle()
@unittest.expectedFailure # TODO: RUSTPYTHON; LookupError: unknown encoding: cp950
def test_mapping_file(self):
return super().test_mapping_file()
if __name__ == "__main__":
unittest.main()