Skip to content

Commit c69d057

Browse files
Updated the test part
1 parent bc50109 commit c69d057

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/argparse.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1922,8 +1922,9 @@ Subcommands
19221922
>>> parser = argparse.ArgumentParser(prog='chicken.py')
19231923
>>> subparsers = parser.add_subparsers()
19241924
>>> fly = subparsers.add_parser('fly', deprecated=True)
1925-
>>> args = parser.parse_args(['fly']) # doctest: +SKIP
1925+
>>> args = parser.parse_args(['fly'])
19261926
chicken.py: warning: command 'fly' is deprecated
1927+
Namespace()
19271928

19281929
All other keyword arguments are passed directly to the
19291930
:class:`!ArgumentParser` constructor.

0 commit comments

Comments
 (0)