Mark tests failing only in Windows

This commit is contained in:
Lee Dogeon
2026-01-24 17:25:17 +09:00
committed by Jeong, YunWon
parent 31ee8b593f
commit b1f158e5a8

View File

@@ -3592,7 +3592,7 @@ class CodePageTest(unittest.TestCase):
(b'\xff', 'strict', '\xff'),
))
@unittest.expectedFailure # TODO: RUSTPYTHON
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON")
def test_cp708(self):
self.check_encode(708, (
('abc2%', 'strict', b'abc2%'),
@@ -3622,6 +3622,7 @@ class CodePageTest(unittest.TestCase):
(b'[\xa0]', 'surrogatepass', None),
))
@unittest.expectedFailureIfWindows("TODO: RUSTPYTHON")
def test_cp20106(self):
self.check_encode(20106, (
('abc', 'strict', b'abc'),