]> 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)
commit03937a8755e189959c44e5035a3eb27db95a6efe
tree3e2e9bf17f4ea99ba36e9ebd32cd32fecfaed8cd
parentdfaf90da9c4a9a4f7dd7bd716fa0695d32bbd91f
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