]> granicus.if.org Git - python/commit
A follow up for issue #15906: change the test for calling the type conversion
authorBarry Warsaw <barry@python.org>
Wed, 12 Sep 2012 18:34:50 +0000 (14:34 -0400)
committerBarry Warsaw <barry@python.org>
Wed, 12 Sep 2012 18:34:50 +0000 (14:34 -0400)
commiteaae1b76aecd2c2fc1cf1aa1578db69e7d1464e6
tree3ce66cbfcb96f3492675f56fe45a87a18abfd785
parent55ad6515c90148bbcaeee0d7a185bfecc9aa1693
A follow up for issue #15906: change the test for calling the type conversion
on the action's default, reverting it back to previous behavior.  Conversion
is only done on string defaults.

Add a test for this and another test that ensures such type conversions are
only called once.
Lib/argparse.py
Lib/test/test_argparse.py