New submission from Mikeli Karotsieri <michael.karotsie...@gmail.com>:
The error messages included in the exceptions raised when assertTrue and assertFalse fail are respectively: 'False is not true' 'True is not false ' This issue's goal is to find out if it would be more correct or/and beneficial for those messages to be: 'False is not True' 'True is not False' As a side note, the suggested error message is syntactically correct Python. The assosciated file is Lib/unittest/case.py . ---------- components: Library (Lib) messages: 356065 nosy: brandtbucher, mkarotsieris priority: normal pull_requests: 16573 severity: normal status: open title: What should the error message in the exception raised by assertTrue and assertFalse be? versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38706> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com