Skip to content

Commit f63e6f3

Browse files
committed
Flag/skip failing tests
1 parent adb8d08 commit f63e6f3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Lib/test/test_bytes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ def test_rindex(self):
704704
self.assertEqual(b.rindex(i, 3, 9), 7)
705705
self.assertRaises(ValueError, b.rindex, w, 1, 3)
706706

707+
# TODO: RUSTPYTHON
708+
@unittest.expectedFailure
707709
def test_mod(self):
708710
b = self.type2test(b'hello, %b!')
709711
orig = b
@@ -1992,6 +1994,7 @@ def test_join(self):
19921994
s3 = s1.join([b"abcd"])
19931995
self.assertIs(type(s3), self.basetype)
19941996

1997+
@unittest.skip("TODO: RUSTPYHON, Fails on ByteArraySubclassWithSlotsTest")
19951998
def test_pickle(self):
19961999
a = self.type2test(b"abcd")
19972000
a.x = 10
@@ -2006,6 +2009,7 @@ def test_pickle(self):
20062009
self.assertEqual(type(a.z), type(b.z))
20072010
self.assertFalse(hasattr(b, 'y'))
20082011

2012+
@unittest.skip("TODO: RUSTPYHON, Fails on ByteArraySubclassWithSlotsTest")
20092013
def test_copy(self):
20102014
a = self.type2test(b"abcd")
20112015
a.x = 10

0 commit comments

Comments
 (0)