This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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
History
Date User Action Args
2011-06-24 16:30:48francismbsetrecipients: + francismb, eric.smith, benjamin.peterson, r.david.murray, skrah, petri.lehtinen
2011-06-24 16:30:47francismblinkissue10206 messages
2011-06-24 16:30:47francismbcreate