Message138961
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 |
|
Date |
User |
Action |
Args |
2011-06-24 16:30:48 | francismb | set | recipients:
+ francismb, eric.smith, benjamin.peterson, r.david.murray, skrah, petri.lehtinen |
2011-06-24 16:30:47 | francismb | link | issue10206 messages |
2011-06-24 16:30:47 | francismb | create | |
|