diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py index bd41ca3ad..f50b84253 100644 --- a/Lib/test/test_enum.py +++ b/Lib/test/test_enum.py @@ -1698,8 +1698,6 @@ class TestEnum(unittest.TestCase): test = 1 self.assertEqual(Test.test.test, 'dynamic') - # TODO: RUSTPYTHON - @unittest.expectedFailure def test_no_duplicates(self): class UniqueEnum(Enum): def __init__(self, *args): diff --git a/vm/src/builtins/pytype.rs b/vm/src/builtins/pytype.rs index 48c1b9c2e..77e1e195c 100644 --- a/vm/src/builtins/pytype.rs +++ b/vm/src/builtins/pytype.rs @@ -467,8 +467,6 @@ impl PyType { let typ = new(metatype, name.as_str(), base, bases, attributes, slots) .map_err(|e| vm.new_type_error(e))?; - vm.ctx.add_slot_wrappers(&typ); - // avoid deadlock let attributes = typ .attributes