[issue15836] unittest assertRaises should verify excClass is actually a BaseException class

R. David Murray report at bugs.python.org
Sat Sep 1 02:40:29 CEST 2012


R. David Murray added the comment:

Sounds like a reasonable suggestion.  However, the patch is not valid for 2.7, since there exceptions can be old style classes.

----------
nosy: +r.david.murray
stage:  -> patch review
versions:  -Python 2.6, Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15836>
_______________________________________


More information about the Python-bugs-list mailing list