From 3349e1db843cd3a962ba388506ec95655f53a033 Mon Sep 17 00:00:00 2001 From: Padraic Fanning Date: Thu, 25 Feb 2021 16:22:57 -0500 Subject: [PATCH] Change skips to expected failures --- Lib/test/list_tests.py | 2 ++ Lib/test/seq_tests.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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)