Skip to content

Commit 516ced9

Browse files
ShaharNavehyouknowone
authored andcommitted
Mark failing tests
1 parent e94459d commit 516ced9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lib/test/test_struct.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,10 +484,12 @@ def _test_pack_into(self, pack_into):
484484
with self.assertRaises((IndexError, OverflowError)):
485485
pack_into(writable_buf, -2**1000, test_string)
486486

487+
@unittest.expectedFailure # TODO: RUSTPYTHON; BufferError: non-contiguous buffer is not a bytes-like object
487488
def test_pack_into(self):
488489
s = struct.Struct('21s')
489490
self._test_pack_into(s.pack_into)
490491

492+
@unittest.expectedFailure # TODO: RUSTPYTHON; BufferError: non-contiguous buffer is not a bytes-like object
491493
def test_pack_into_fn(self):
492494
pack_into = lambda *args: struct.pack_into('21s', *args)
493495
self._test_pack_into(pack_into)
@@ -827,6 +829,7 @@ def test_endian_table_init_subinterpreters(self):
827829
results = executor.map(exec, [code] * 5)
828830
self.assertListEqual(list(results), [None] * 5)
829831

832+
@unittest.expectedFailure # TODO: RUSTPYTHON; TypeError: expected at least 1 arguments, got 0
830833
def test_operations_on_half_initialized_Struct(self):
831834
S = struct.Struct.__new__(struct.Struct)
832835

0 commit comments

Comments
 (0)