Commit Graph

13 Commits

Author SHA1 Message Date
Florent Xicluna 6257a7bbb2 Replace catch_warnings with check_warnings when it makes sense. Use assertRaises context manager to simplify some tests. 2010-03-31 22:01:03 +00:00
Steven Bethard 2ec1f27716 Replace license with simple attribution. 2010-03-24 23:03:24 +00:00
Benjamin Peterson 6b31fd0f13 eliminate py3k warnings in argparse 2010-03-07 00:29:44 +00:00
Benjamin Peterson 842b95b030 plug ref leaks 2010-03-02 23:43:47 +00:00
Benjamin Peterson 0e717addd8 remove cross-version compatibility code 2010-03-02 23:02:02 +00:00
Benjamin Peterson bd56722a27 remove code to avoid BaseException.message bug 2010-03-02 22:58:01 +00:00
Benjamin Peterson fa31eaa5f6 convert deprecated fail* methods to assert* variants 2010-03-02 22:26:25 +00:00
Benjamin Peterson e4d90c23a3 use test_main() in __main__ section 2010-03-02 22:24:30 +00:00
Benjamin Peterson 4aa8a13b86 prevent warning filter adjustment from altering other tests 2010-03-02 22:23:33 +00:00
Benjamin Peterson 036fae39ac enable running of argparse tests and fix two that failed in the new environment 2010-03-02 22:20:10 +00:00
Benjamin Peterson 5e32fe5f9d remove another coding cookie 2010-03-02 22:08:40 +00:00
Benjamin Peterson a39e966e97 set svn:eol-style 2010-03-02 22:05:59 +00:00
Steven Bethard e9330e7941 Initial commit of the argparse library, based on argparse 1.1.
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.
2010-03-02 08:38:09 +00:00