[issue38706] What should the error message in the exception raised by assertTrue and assertFalse be?
Petr Viktorin
report at bugs.python.org
Thu Nov 7 04:22:16 EST 2019
Petr Viktorin <encukou at gmail.com> added the comment:
Generally, „true“ and „false“ refer to „truthiness“, while the actual ``True`` and ``False`` literals should be capitalized. And in monospace font if possible.
I think this is a good convention, but it's quite subtle, and I don't think it's explicitly mentioned in the docs.
----------
nosy: +petr.viktorin
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38706>
_______________________________________
More information about the Python-bugs-list
mailing list