Skip to content

Check Enum.create_editor; add tests #965

@mdickinson

Description

@mdickinson

I'm suspicious of the code in Enum.create_editor, and it isn't exercised by the test suite. We should double check that it works as intended before the 6.1.0 release (and ideally, also add tests).

We should also check that the editor behaves sensibly for the various possible input types (which changed in #889).

For example: is that values = self really right? For another, there's some code that looks editor-related in the BaseEnum __init__ method, but that code never gets executed, and doesn't belong in the __init__ in the first place.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions