SilentGhost <ghost.adh at gmail.com> added the comment: Shouldn't that be: self.assertIs(req.type == "ftp", ftp) ? ---------- nosy: +SilentGhost _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue10874> _______________________________________