summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_argparse.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-9/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Merged revisions 86111 via svnmerge fromSteven Bethard2010-11-021-0/+22
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86111 | steven.bethard | 2010-11-02 13:47:22 +0100 (Tue, 02 Nov 2010) | 1 line Fix bug 9340 - argparse parse_known_args didn't work with subparsers ........
* Merged revisions 86092 via svnmerge fromSteven Bethard2010-11-011-0/+19
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86092 | steven.bethard | 2010-11-01 17:29:26 +0100 (Mon, 01 Nov 2010) | 1 line Fix for issue 9355 where with multiple mutually exclusive arguments, some brackets were being lost in the usage messages ........
* Merged revisions 86090 via svnmerge fromSteven Bethard2010-11-011-0/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86090 | steven.bethard | 2010-11-01 16:57:36 +0100 (Mon, 01 Nov 2010) | 1 line Fix bug 9352 where characters were being lost in parsing some short options ........
* Merged revisions 86086 via svnmerge fromSteven Bethard2010-11-011-0/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86086 | steven.bethard | 2010-11-01 16:23:12 +0100 (Mon, 01 Nov 2010) | 1 line Get argparse.__all__ back up to date (issue 9353) ........
* Merged revisions 86080 via svnmerge fromSteven Bethard2010-11-011-0/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86080 | steven.bethard | 2010-11-01 14:56:09 +0100 (Mon, 01 Nov 2010) | 1 line Unset COLUMNS for test_argparse (and restore afterwards) (issue 9553) ........
* Merged revisions 85497 via svnmerge fromAntoine Pitrou2010-10-141-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85497 | antoine.pitrou | 2010-10-14 23:15:17 +0200 (jeu., 14 oct. 2010) | 3 lines Explicitly close some files (from issue #10093) ........
* Merged revisions 83675 via svnmerge fromR. David Murray2010-08-031-7/+72
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83675 | r.david.murray | 2010-08-03 13:56:09 -0400 (Tue, 03 Aug 2010) | 12 lines #9444: use first of prefix_chars for help opt instead of raising error An argparse option parser created with a prefix_chars that did not include a '-' would happily add -h and --help options, and then throw an error when it tried to format the help because the - was an invalid prefix character. This patch makes it use the first character of prefix_chars as the character for the help options if and only if '-' is not one of the valid prefix_chars. Fix by Theodore Turocy, unit tests by Catherine Devlin. ........
* Fix default value for version help. Approved by Benjamin on python-dev: ↵Steven Bethard2010-05-241-0/+19
| | | | http://mail.python.org/pipermail/python-dev/2010-May/100231.html
* Switch regrtest to use StringIO instead of cStringIO for ↵Michael Foord2010-04-081-5/+9
| | | | test_multiprocessing on Windows. Issue 8333.
* Replace catch_warnings with check_warnings when it makes sense. Use ↵Florent Xicluna2010-03-311-16/+6
| | | | assertRaises context manager to simplify some tests.
* Replace license with simple attribution.Steven Bethard2010-03-241-13/+1
|
* eliminate py3k warnings in argparseBenjamin Peterson2010-03-071-0/+10
|
* plug ref leaksBenjamin Peterson2010-03-021-0/+4
|
* remove cross-version compatibility codeBenjamin Peterson2010-03-021-22/+2
|
* remove code to avoid BaseException.message bugBenjamin Peterson2010-03-021-6/+0
|
* convert deprecated fail* methods to assert* variantsBenjamin Peterson2010-03-021-16/+16
|
* use test_main() in __main__ sectionBenjamin Peterson2010-03-021-1/+1
|
* prevent warning filter adjustment from altering other testsBenjamin Peterson2010-03-021-24/+23
|
* enable running of argparse tests and fix two that failed in the new environmentBenjamin Peterson2010-03-021-4/+11
|
* remove another coding cookieBenjamin Peterson2010-03-021-3/+1
|
* set svn:eol-styleBenjamin Peterson2010-03-021-4206/+4206
|
* Initial commit of the argparse library, based on argparse 1.1.Steven Bethard2010-03-021-0/+4206
Docs still need some updating to make getopt and optparse match the wording promised in the PEP. There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation.