mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
Change skips to expected failures
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -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])
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user