[issue11906] test_argparse failure in interactive mode

2012-01-16 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11906 ___ ___ Python-bugs-list

[issue11906] test_argparse failure in interactive mode

2012-01-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: This was committed on py3k in 4f8c24830a5c. Terry, can the issue be closed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11906 ___

[issue11906] test_argparse failure in interactive mode

2012-01-09 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: If you don’t have easy access to a command line, you can run the test suite from a Python or IDLE shell: from test import autotest I discovered that after our discussion in this report and added it to the devguide in c18fd0ee23ed. BTW I

[issue11906] test_argparse failure in interactive mode

2012-01-09 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b950267efd59 by Terry Jan Reedy in branch '3.2': #11906 Make test_argparse work interactively by removing extra space http://hg.python.org/cpython/rev/b950267efd59 -- nosy: +python-dev

[issue11906] test_argparse failure in interactive mode

2012-01-09 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset ec32e6ec16fc by Terry Jan Reedy in branch '2.7': #11906 Make test_argparse work interactively by removing extra space http://hg.python.org/cpython/rev/ec32e6ec16fc -- ___

[issue11906] test_argparse failure in interactive mode

2012-01-09 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- assignee: - terry.reedy resolution: - fixed stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11906 ___

[issue11906] test_argparse failure in interactive mode

2012-01-08 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: http://docs.python.org/devguide/runtests.html If you don’t have easy access to a command line, you can run the test suite from a Python or IDLE shell: from test import autotest However, argparse is the least of the test suite problems on

[issue11906] test_argparse failure in interactive mode

2011-05-28 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Terry, I think you can apply the patch you proposed in msg137085 and close this issue. If the recommended structure of test files is not documented, a section in the devguide should be added, but that's another issue. (FWIW I'm not even

[issue11906] test_argparse failure in interactive mode

2011-05-28 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I will when I get setup to do that again. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11906 ___

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I don’t know if we should go out of our way to support running tests in interactive mode. Running them from regrtest is the recommended way. -- title: Test_argparse failure but only in interactive mode - test_argparse failure in

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Unless Terry wants to contribute a fix I suggest closing this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11906 ___

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Ahem. Interactive mode is an approved method of running Python code, along with batch mode. The core interpreter and stdlib modules should run correctly in both modes. So the entire test suite should pass in both modes too. If the tests are

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Interactive mode is an approved method of running Python code, along with batch mode. The core interpreter and stdlib modules should run correctly in both modes. So the entire test suite should pass in both modes too. You are right. That

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Michael Foord
Michael Foord mich...@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

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Unless the doc for a module explicitly diclaims interactive mode (as does multiproccessing), it should run interactively as documented. Batch and interactive are not mutually exclusive; python -i runs a file in batch mode and switches to

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: it should run interactively as documented. Where is it documented that all tests will run from the IDLE prompt? I have *never* heard this claim before. I have nothing against tests supporting this, but those who want it to happen will