STINNER Victor added the comment:

-                    self.assertTrue(type(result) is str, type(result))
+                    self.assertIs(type(result), str, type(result))

You can probably drop the third parameter.

Victor

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20545>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to