diff --git a/Lib/test/test_importlib/test_read.py b/Lib/test/test_importlib/test_read.py index d7e155bf0..8f26361a7 100644 --- a/Lib/test/test_importlib/test_read.py +++ b/Lib/test/test_importlib/test_read.py @@ -24,13 +24,15 @@ class ReadTests: result = resources.read_text(self.data, 'utf-8.file') self.assertEqual(result, 'Hello, UTF-8 world!\n') - @unittest.skip("TODO: RUSTPYTHON, UnicodeDecodeError: cannot decode byte at index: 0") + # TODO: RUSTPYTHON + @unittest.expectedFailure def test_read_text_given_encoding(self): result = resources.read_text( self.data, 'utf-16.file', encoding='utf-16') self.assertEqual(result, 'Hello, UTF-16 world!\n') - @unittest.skip("TODO: RUSTPYTHON, UnicodeDecodeError: cannot decode byte at index: 0") + # TODO: RUSTPYTHON + @unittest.expectedFailure def test_read_text_with_errors(self): # Raises UnicodeError without the 'errors' argument. self.assertRaises(