mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
#12353: argparse now correctly handles null argument values.
Patch by Torsten Landschoff.
This commit is contained in:
parent
15cd9a0be4
commit
b94082a71b
3 changed files with 4 additions and 1 deletions
|
@ -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'])),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue