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 atb00ker
Recipients atb00ker, paul.j3, xtreak
Date 2020-01-21.10:12:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579601559.23.0.66237503861.issue39283@roundup.psfhosted.org>
In-reply-to
Content
Hi pual,

> The issue of testing a script that uses argparse has come up on StackOverFlow a number of times.

Sorry for the confusing but this is not a support ticket,
I am not stuck with a problem and I am aware of the variaous solutions on Stackoverflow to use arguements with unittest module.

Instead, I am proposing a change in the module so that the user of unittest can get the `parent_parser` and add their arguements in the unitest argparser instance itself.


I propose this change because it seems like a more intuitive way to use argparser with unittest to me and I hope to hear your thoughts on the change and if it is desired.



Best,
Ajay Tripathi
History
Date User Action Args
2020-01-21 10:12:39atb00kersetrecipients: + atb00ker, paul.j3, xtreak
2020-01-21 10:12:39atb00kersetmessageid: <1579601559.23.0.66237503861.issue39283@roundup.psfhosted.org>
2020-01-21 10:12:39atb00kerlinkissue39283 messages
2020-01-21 10:12:38atb00kercreate