[issue44564] DeprecationWarning in test_enum over formatting
Denis Laxalde
report at bugs.python.org
Thu Jul 29 03:24:15 EDT 2021
Denis Laxalde <denis at laxalde.org> added the comment:
The assertion at stake looks redundant since we already check that `'{}'.format(OkayEnum.one) == '1'` (the line above) and that `OkayEnum.one == '1'` (3 lines above).
----------
nosy: +dlax
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44564>
_______________________________________
More information about the Python-bugs-list
mailing list