bpo-46296: [Enum] add a test for missing `value` recovery (GH-30458)
In `__set_name__` there is a check for the `_value_` attribute and an attempt to add it if missing; this adds a test to cover the case for simple enums with a custom `__new__` method.
N
Nikita Sobolev committed
74d1663580d1914bd110c3ab7282451f5e2cd2b5
Parent: d382f7e
Committed by GitHub <noreply@github.com>
on 1/7/2022, 9:44:21 PM