Mark expected failures and skipped tests
@@ -112,6 +112,8 @@ class Test(unittest.TestCase):
self.assertEqual(A.d.name, "d")
self.assertIs(A.d.owner, A)
+ #TODO: RUSTPYTHON
+ @unittest.expectedFailure
def test_set_name_metaclass(self):
class Meta(type):
def __new__(cls, name, bases, ns):
@@ -197,6 +199,8 @@ class Test(unittest.TestCase):
self.assertIs(B.meta_owner, B)
self.assertEqual(B.name, 'd')
+ #TODO: RUSTPYTHON
+ @unittest.skip("infinite loops")
def test_set_name_modifying_dict(self):
notified = []
class Descriptor:
@@ -213,6 +217,8 @@ class Test(unittest.TestCase):
self.assertCountEqual(notified, ['a', 'b', 'c', 'd', 'e'])
+ #TODO: RUSTPYTHON
+ @unittest.expectedFailure
def test_errors(self):
class MyMeta(type):
pass
