Back to index

python3.2  3.2.2
Static Public Attributes
test.test_argparse.TestHelpUsageLongProgOptionsWrap Class Reference
Collaboration diagram for test.test_argparse.TestHelpUsageLongProgOptionsWrap:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

tuple parser_signature = Sig(prog='P' * 60)
list argument_signatures
list argument_group_signatures = []
string usage
string help
string version = ''

Detailed Description

Test usage messages where the prog is long and the optionals wrap

Definition at line 3268 of file test_argparse.py.


Member Data Documentation

Definition at line 3280 of file test_argparse.py.

Initial value:
[
        Sig('-w', metavar='W' * 25),
        Sig('-x', metavar='X' * 25),
        Sig('-y', metavar='Y' * 25),
        Sig('-z', metavar='Z' * 25),
        Sig('a'),
        Sig('b'),
    ]

Definition at line 3272 of file test_argparse.py.

Initial value:
'''\

    positional arguments:
      a
      b

    optional arguments:
      -h, --help            show this help message and exit
      -w WWWWWWWWWWWWWWWWWWWWWWWWW
      -x XXXXXXXXXXXXXXXXXXXXXXXXX
      -y YYYYYYYYYYYYYYYYYYYYYYYYY
      -z ZZZZZZZZZZZZZZZZZZZZZZZZZ
    '''

Definition at line 3288 of file test_argparse.py.

Definition at line 3271 of file test_argparse.py.

Initial value:
'''\
    usage: PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
           [-h] [-w WWWWWWWWWWWWWWWWWWWWWWWWW] \
[-x XXXXXXXXXXXXXXXXXXXXXXXXX]
           [-y YYYYYYYYYYYYYYYYYYYYYYYYY] [-z ZZZZZZZZZZZZZZZZZZZZZZZZZ]
           a b
    '''

Definition at line 3281 of file test_argparse.py.

Definition at line 3301 of file test_argparse.py.


The documentation for this class was generated from the following file: