[issue10206] python program starting with unmatched quote spews spaces to stdout
Francisco Martín Brugué
report at bugs.python.org
Fri Jun 24 18:30:48 CEST 2011
Francisco Martín Brugué <francismb at email.de> added the comment:
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
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10206>
_______________________________________
More information about the Python-bugs-list
mailing list