Python 3.11 changed IntEnum.__str__ to return the number instead of the enum value name. This breaks fixtures.json because pytest uses str(value) to generate the test identifier names, and in a lot of places our identifiers use the enum values. This override of `_idval_from_value` explicitly generates a name from the IntEnum instead of using the __str__ implementation.M1nd3r/thp-dealloc
parent
8a9a965a9f
commit
5dc8998a0b
Loading…
Reference in new issue