Explain test_read_text_given_encoding skip

This commit is contained in:
Padraic Fanning
2021-02-03 20:46:43 -05:00
parent c05304d8de
commit e55eb7ce8a

View File

@@ -24,7 +24,7 @@ class ReadTests:
result = resources.read_text(self.data, 'utf-8.file')
self.assertEqual(result, 'Hello, UTF-8 world!\n')
@unittest.skip("TODO: RUSTPYTHON")
@unittest.skip("TODO: RUSTPYTHON, UnicodeDecodeError: cannot decode byte at index: 0")
def test_read_text_given_encoding(self):
result = resources.read_text(
self.data, 'utf-16.file', encoding='utf-16')