Author r.david.murray
Recipients benjamin.peterson, eric.smith, francismb, petri.lehtinen, r.david.murray, skrah
Date 2011-06-24.16:07:21
SpamBayes Score 2.08919e-05
Marked as misclassified No
Message-id <>
I think that self.assertRegex(err.decode('ascii', 'ignore'), 'SyntaxError') would be fine.  We are extremely unlikely to change the string representation of the name of SyntaxError or omit it from the error message, so I think this is a reliable test.  If you really want to be paranoid, you could use SyntaxError.__name__ as the argument to assertRegex, but there are a number of other places in the test suite where we hardcode the exception names, so I don't think it is necessary.
Date User Action Args
2011-06-24 16:07:22r.david.murraysetrecipients: + r.david.murray, eric.smith, benjamin.peterson, skrah, petri.lehtinen, francismb
2011-06-24 16:07:22r.david.murraysetmessageid: <>
2011-06-24 16:07:21r.david.murraylinkissue10206 messages
2011-06-24 16:07:21r.david.murraycreate