[issue11906] test_argparse failure in interactive mode

Michael Foord report at bugs.python.org
Fri May 27 19:07:49 CEST 2011


Michael Foord <michael at voidspace.org.uk> added the comment:

> Interactive mode is an approved method of running Python code, along with batch mode. 

That is not guaranteed for any particular piece of Python code in the standard library. In particular it is not amenable to test automation, so it is certainly not a requirement that tests pass in this mode. (What is the *use case* for running a command line argument parser in interactive mode?)

I'm certainly not opposed to fixing tests so that they do pass when run like this, but I disagree that it is a "bug".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11906>
_______________________________________


More information about the Python-bugs-list mailing list