diff options
| author | R David Murray <rdmurray@bitdance.com> | 2012-07-22 02:35:00 (GMT) | 
|---|---|---|
| committer | R David Murray <rdmurray@bitdance.com> | 2012-07-22 02:35:00 (GMT) | 
| commit | 056c31f9cc10a8697a40c817eae42f7e38a1cf80 (patch) | |
| tree | e8d441ef0f7d29458e98689559e54f4507a7fc77 /Lib/test/test_argparse.py | |
| parent | 1a2c1fbfd2208407e1af365b161276b6f103c1ad (diff) | |
| download | cpython-056c31f9cc10a8697a40c817eae42f7e38a1cf80.zip cpython-056c31f9cc10a8697a40c817eae42f7e38a1cf80.tar.gz cpython-056c31f9cc10a8697a40c817eae42f7e38a1cf80.tar.bz2  | |
#12353: argparse now correctly handles null argument values.
Patch by Torsten Landschoff.
Diffstat (limited to 'Lib/test/test_argparse.py')
| -rw-r--r-- | Lib/test/test_argparse.py | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_argparse.py b/Lib/test/test_argparse.py index 1a5f05e..a7a4b00 100644 --- a/Lib/test/test_argparse.py +++ b/Lib/test/test_argparse.py @@ -1374,6 +1374,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'])),      ]  | 
