Back to index

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

List of all members.

Static Public Attributes

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

Detailed Description

Test usage messages where the optionals wrap

Definition at line 3329 of file test_argparse.py.


Member Data Documentation

Definition at line 3342 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'),
        Sig('c'),
    ]

Definition at line 3333 of file test_argparse.py.

Initial value:
'''\

    positional arguments:
      a
      b
      c

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

Definition at line 3350 of file test_argparse.py.

Definition at line 3332 of file test_argparse.py.

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

Definition at line 3343 of file test_argparse.py.

Definition at line 3364 of file test_argparse.py.


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