diff --git a/Lib/test/list_tests.py b/Lib/test/list_tests.py index 63ae21d2f..35b793d70 100644 --- a/Lib/test/list_tests.py +++ b/Lib/test/list_tests.py @@ -370,6 +370,8 @@ class CommonTest(seq_tests.CommonTest): # verify that original order and values are retained. self.assertIs(x, y) + # TODO: RUSTPYTHON + @unittest.expectedFailure def test_index(self): super().test_index() a = self.type2test([-2, -1, 0, 0, 1, 2]) diff --git a/Lib/test/seq_tests.py b/Lib/test/seq_tests.py index 331cf2d0d..57feec603 100644 --- a/Lib/test/seq_tests.py +++ b/Lib/test/seq_tests.py @@ -365,7 +365,8 @@ class CommonTest(unittest.TestCase): self.assertRaises(BadExc, a.count, BadCmp()) - @unittest.skip("TODO: RUSTPYTHON, TypeError: Expected at most 2 arguments (3 given)") + # TODO: RUSTPYTHON + @unittest.expectedFailure def test_index(self): u = self.type2test([0, 1]) self.assertEqual(u.index(0), 0)