Message210570
| Author |
vstinner |
| Recipients |
benjamin.peterson, ezio.melotti, lemburg, loewis, pitrou, serhiy.storchaka, vstinner |
| Date |
2014年02月07日.22:25:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAMpsgwZx5QnqHvq47L0TPKupdnp0wrEW1sx6VnUjw2NqKacN8A@mail.gmail.com> |
| In-reply-to |
<1391804725.49.0.807419128336.issue20545@psf.upfronthosting.co.za> |
| Content |
- self.assertTrue(type(result) is str, type(result))
+ self.assertIs(type(result), str, type(result))
You can probably drop the third parameter.
Victor |
|