Skip to content

Commit 3349e1d

Browse files
committed
Change skips to expected failures
1 parent 3ce476c commit 3349e1d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Lib/test/list_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,8 @@ def __eq__(self, other):
370370
# verify that original order and values are retained.
371371
self.assertIs(x, y)
372372

373+
# TODO: RUSTPYTHON
374+
@unittest.expectedFailure
373375
def test_index(self):
374376
super().test_index()
375377
a = self.type2test([-2, -1, 0, 0, 1, 2])

Lib/test/seq_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ def __eq__(self, other):
365365

366366
self.assertRaises(BadExc, a.count, BadCmp())
367367

368-
@unittest.skip("TODO: RUSTPYTHON, TypeError: Expected at most 2 arguments (3 given)")
368+
# TODO: RUSTPYTHON
369+
@unittest.expectedFailure
369370
def test_index(self):
370371
u = self.type2test([0, 1])
371372
self.assertEqual(u.index(0), 0)

0 commit comments

Comments
 (0)