Message250531
| Author |
martin.panter |
| Recipients |
JelleZijlstra, barry, eric.smith, martin.panter, python-dev, yselivanov |
| Date |
2015年09月12日.21:24:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1442093064.7.0.292227024023.issue24965@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Regarding wrong error messages, I’ve learnt the hard way that it is often best to use assertRaisesRegex() instead of assertRaises(), to ensure that the actual exception you have in mind is being triggered, rather than a typo or something. Though that might upset your assertSyntaxErrors() helper. |
|