Message129755
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:51 | Danh | set | recipients:
+ Danh, wm |
2011-03-01 12:57:51 | Danh | set | messageid: <1298984271.47.0.141013251152.issue11354@psf.upfronthosting.co.za> |
2011-03-01 12:57:50 | Danh | link | issue11354 messages |
2011-03-01 12:57:50 | Danh | create | |
|