| 123 | # Python 3.10 changed representation of enums. We use well-defined object |
| 124 | # representation and string representation from Python 3.9. |
| 125 | class Enum(enum.Enum): |
| 126 | def __repr__(self) -> str: |
| 127 | return f"<{self.__class__.__name__}.{self._name_}: {self._value_!r}>" |
| 128 | |
| 129 | def __str__(self) -> str: |
| 130 | return f"{self.__class__.__name__}.{self._name_}" |
nothing calls this directly
no outgoing calls
no test coverage detected