[issue13387] add exact_type argument to assertIsInstance
Éric Araujo
report at bugs.python.org
Sat Nov 12 15:55:25 CET 2011
Éric Araujo <merwok at netwok.org> added the comment:
I find that assertIs(type(x), someclass) is very clear, whereas an assertIsInstance that would not behave like isinstance depending on one argument would be non-obvious to me.
----------
nosy: +eric.araujo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13387>
_______________________________________
More information about the Python-bugs-list
mailing list