Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Lib/test/test_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -1698,8 +1698,6 @@ class Test(Base):
test = 1
self.assertEqual(Test.test.test, 'dynamic')

# TODO: RUSTPYTHON
@unittest.expectedFailure
def test_no_duplicates(self):
class UniqueEnum(Enum):
def __init__(self, *args):
Expand Down
2 changes: 0 additions & 2 deletions vm/src/builtins/pytype.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down