Ajay Tripathi <ajay3...@gmail.com> added the comment:

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39283>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to