Closed
Description
Right now there are places in test_enum
that for some reason contain code like
Lines 53 to 76 in 4ff5690
For some reason we try to catch exceptions that won't ever happen (at least, they never should happen).
But, there are also regular Enum
s that are defined without any exceptions:
Lines 78 to 101 in 4ff5690
This is an artifact of 10+ age: 6b3d64a#diff-8467f9fbbff81abf26d87a8dbbf0e0c866157971948010e48cc73539251a9e4cR14
I propose to remove this and backport this PR to all supported Python versions.
PR will be available quite soon :)