mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 11:14:38 +08:00
Mark expected failures and skipped tests
This commit is contained in:
1 parent
8e52c29e3b
commit
bb433bfd51
1 file changed
+6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user