Message 250531 - Python tracker

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.
History
Date User Action Args
2015-09-12 21:24:24martin.pantersetrecipients: + martin.panter, barry, eric.smith, python-dev, yselivanov, JelleZijlstra
2015-09-12 21:24:24martin.pantersetmessageid: <1442093064.7.0.292227024023.issue24965@psf.upfronthosting.co.za>
2015-09-12 21:24:24martin.panterlinkissue24965 messages
2015-09-12 21:24:24martin.pantercreate