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