[issue43596] change assertRaises message when wrong exception is raised
Irit Katriel
report at bugs.python.org
Thu Jul 29 16:50:24 EDT 2021
Irit Katriel <iritkatriel at gmail.com> added the comment:
What you are suggesting replaces the type of the exception being raised. If it's something like a MemoryError or KeyboardInterrupt you don't want that, you want your test process to terminate.
----------
nosy: +iritkatriel
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43596>
_______________________________________
More information about the Python-bugs-list
mailing list