Message138961
| Author |
francismb |
| Recipients |
benjamin.peterson, eric.smith, francismb, petri.lehtinen, r.david.murray, skrah |
| Date |
2011年06月24日.16:30:47 |
| SpamBayes Score |
5.378111e-06 |
| Marked as misclassified |
No |
| Message-id |
<4E04BBED.5030009@email.de> |
| In-reply-to |
<1308931642.19.0.759955232102.issue10206@psf.upfronthosting.co.za> |
| Content |
On 06/24/2011 06:07 PM, R. David Murray wrote:
> self.assertRegex(err.decode('ascii', 'ignore'), 'SyntaxError')
I understand that's the standard way to check if a given failure
happened in the command line or there is also a helper for that case
(maybe something: assert_python_raises('-c', "'", SyntaxError))
Thanks !
Francisco |
|