[issue11906] test_argparse failure in interactive mode

2012-01-16 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11906] test_argparse failure in interactive mode

2012-01-15 Thread Ezio Melotti
Ezio Melotti added the comment: This was committed on py3k in 4f8c24830a5c. Terry, can the issue be closed? -- ___ Python tracker ___ ___

[issue11906] test_argparse failure in interactive mode

2012-01-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- assignee: -> terry.reedy resolution: -> fixed stage: -> committed/rejected ___ Python tracker ___ __

[issue11906] test_argparse failure in interactive mode

2012-01-09 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

[issue11906] test_argparse failure in interactive mode

2012-01-09 Thread Roundup Robot
Roundup Robot 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 ___ Python tracker

[issue11906] test_argparse failure in interactive mode

2012-01-09 Thread Éric Araujo
Éric Araujo 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 agree with Ez

[issue11906] test_argparse failure in interactive mode

2012-01-08 Thread Terry J. Reedy
Terry J. Reedy 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 Windows. (#9116,

[issue11906] test_argparse failure in interactive mode

2011-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I will when I get setup to do that again. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue11906] test_argparse failure in interactive mode

2011-05-28 Thread Ezio Melotti
Ezio Melotti 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 sure there's a recommen

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Michael Foord
Michael Foord 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 have to do the work. -

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Terry J. Reedy
Terry J. Reedy 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 interactive mode. IDL

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Michael Foord
Michael Foord 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 re

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Éric Araujo
Éric Araujo 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 aside, the doc f

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Terry J. Reedy
Terry J. Reedy 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 written correctly,

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Michael Foord
Michael Foord added the comment: Unless Terry wants to contribute a fix I suggest closing this. -- ___ Python tracker ___ ___ Python-

[issue11906] test_argparse failure in interactive mode

2011-05-27 Thread Éric Araujo
Éric Araujo 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 interactive mode _