Skip to content

Commit b1c29aa

Browse files
committed
adjust failing markers for array tests
1 parent 8d3bac9 commit b1c29aa

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Lib/test/test_array.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def __init__(self, typecode, newarg=None):
3030

3131
class MiscTest(unittest.TestCase):
3232

33+
# TODO: RUSTPYTHON
34+
@unittest.expectedFailure
3335
def test_array_is_sequence(self):
3436
self.assertIsInstance(array.array("B"), collections.abc.MutableSequence)
3537
self.assertIsInstance(array.array("B"), collections.abc.Reversible)
@@ -358,6 +360,8 @@ def test_reverse_iterator(self):
358360
self.assertEqual(list(a), list(self.example))
359361
self.assertEqual(list(reversed(a)), list(iter(a))[::-1])
360362

363+
# TODO: RUSTPYTHON
364+
@unittest.expectedFailure
361365
def test_reverse_iterator_picking(self):
362366
orig = array.array(self.typecode, self.example)
363367
data = list(orig)
@@ -926,6 +930,8 @@ def test_extended_set_del_slice(self):
926930
del a[start:stop:step]
927931
self.assertEqual(a, array.array(self.typecode, L))
928932

933+
# TODO: RUSTPYTHON
934+
@unittest.expectedFailure
929935
def test_index(self):
930936
example = 2*self.example
931937
a = array.array(self.typecode, example)
@@ -1182,7 +1188,7 @@ class UnicodeTest(StringTest, unittest.TestCase):
11821188

11831189
# TODO: RUSTPYTHON
11841190
@unittest.expectedFailure
1185-
def test_index(self):
1191+
def test_index(self): # XXX: RUSTPYTHON; the method also need to be removed when done
11861192
super().test_index()
11871193

11881194
def test_unicode(self):

0 commit comments

Comments
 (0)