This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Danh
Recipients Danh, wm
Date 2011-03-01.12:57:50
SpamBayes Score 0.0617763
Marked as misclassified No
Message-id <>
Hi Wojciech,

in your tests, at

    def test_add_argument10(self):
        "nargs = (0, 1) => optimized to '?'"
        opt = self.add_argument(1, None)
        self.assertEqual(opt.nargs, argparse.ONE_OR_MORE)

you should change "argparse.ONE_OR_MORE" to "argparse.OPTIONAL".
Date User Action Args
2011-03-01 12:57:51Danhsetrecipients: + Danh, wm
2011-03-01 12:57:51Danhsetmessageid: <>
2011-03-01 12:57:50Danhlinkissue11354 messages
2011-03-01 12:57:50Danhcreate