diff --git a/Lib/test/test_reprlib.py b/Lib/test/test_reprlib.py index a4ab868e75..bc0d4d1f7a 100644 --- a/Lib/test/test_reprlib.py +++ b/Lib/test/test_reprlib.py @@ -198,6 +198,8 @@ def inner(): r'int object at 0x[0-9A-Fa-f]+>') self.assertRegex(r(x), r'') + # TODO: RUSTPYTHON + @unittest.expectedFailure def test_descriptors(self): eq = self.assertEqual # method descriptors @@ -209,9 +211,9 @@ def test_descriptors(self): class C: def foo(cls): pass x = staticmethod(C.foo) - self.assertTrue(repr(x).startswith('') x = classmethod(C.foo) - self.assertTrue(repr(x).startswith('') def test_unsortable(self): # Repr.repr() used to call sorted() on sets, frozensets and dicts