#12353: argparse now correctly handles null argument values.

Patch by Torsten Landschoff.
This commit is contained in:
R David Murray 2012-07-21 22:20:11 -04:00
parent 15cd9a0be4
commit b94082a71b
3 changed files with 4 additions and 1 deletions

View file

@ -1371,6 +1371,7 @@ class TestArgumentsFromFile(TempDirMixin, ParserTestCase):
('X @hello', NS(a=None, x='X', y=['hello world!'])),
('-a B @recursive Y Z', NS(a='A', x='hello world!', y=['Y', 'Z'])),
('X @recursive Z -a B', NS(a='B', x='X', y=['hello world!', 'Z'])),
(["-a", "", "X", "Y"], NS(a='', x='X', y=['Y'])),
]