[issue14819] Add `assertIsSubclass` and `assertNotIsSubclass` to `unittest.TestCase`

Ezio Melotti report at bugs.python.org
Tue May 15 23:16:57 CEST 2012

Ezio Melotti <ezio.melotti at gmail.com> added the comment:

Hi, this has been discussed already, and we took the decision to leave these out, since checking for subclasses is not as common as checking the type.
If needed, this could still be implemented by the user, and possibly they could be added as recipes to the unittest doc.
Michael what do you think?

nosy: +ezio.melotti, michael.foord
resolution:  -> rejected
stage:  -> committed/rejected
status: open -> pending
versions: +Python 3.3

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list