Éric Araujo <merwok at netwok.org> added the comment: The suggestion about assertIsInstance was a mistake, I misread issubclass in the original code. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue11572> _______________________________________