diff --git a/Lib/test/test_codecmaps_tw.py b/Lib/test/test_codecmaps_tw.py index 145a97d51..4a1359ce7 100644 --- a/Lib/test/test_codecmaps_tw.py +++ b/Lib/test/test_codecmaps_tw.py @@ -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()