Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test_codecs
  • Loading branch information
arihant2math committed Apr 15, 2025
commit 3076f322c6ce0d4da0662506981c66d2a1e680d5
7 changes: 6 additions & 1 deletion Lib/test/test_codecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3020,7 +3020,8 @@ def test_seek0(self):


class TransformCodecTest(unittest.TestCase):

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_basics(self):
binput = bytes(range(256))
for encoding in bytes_transform_encodings:
Expand All @@ -3032,6 +3033,8 @@ def test_basics(self):
self.assertEqual(size, len(o))
self.assertEqual(i, binput)

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_read(self):
for encoding in bytes_transform_encodings:
with self.subTest(encoding=encoding):
Expand All @@ -3040,6 +3043,8 @@ def test_read(self):
sout = reader.read()
self.assertEqual(sout, b"\x80")

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_readline(self):
for encoding in bytes_transform_encodings:
with self.subTest(encoding=encoding):
Expand Down