Jean-Paul Calderone <[email protected]> added the comment:

I just want to second Kristján's position.  I've used assertRaises a lot
over the years (an implementation in a third-party unit testing library)
and it is extremely common that I want the exception object to perform
the kind of checks he is describing.

----------
nosy: +exarkun

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6275>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to