[issue10874] test_urllib2 shouldn't use is operator for comparing strings

SilentGhost report at bugs.python.org
Sun Jan 9 19:00:13 CET 2011


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>
_______________________________________


More information about the Python-bugs-list mailing list