Back to index

python3.2  3.2.2
Static Public Attributes
test.test_argparse.TestDefaultSuppress Class Reference

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['-x']
list successes

Detailed Description

Test actions with suppressed defaults

Definition at line 1284 of file

Member Data Documentation

Initial value:
        Sig('foo', nargs='?', default=argparse.SUPPRESS),
        Sig('bar', nargs='*', default=argparse.SUPPRESS),
        Sig('--baz', action='store_true', default=argparse.SUPPRESS),

Definition at line 1287 of file

Definition at line 1292 of file

Initial value:
        ('', NS()),
        ('a', NS(foo='a')),
        ('a b', NS(foo='a', bar=['b'])),
        ('--baz', NS(baz=True)),
        ('a --baz', NS(foo='a', baz=True)),
        ('--baz a b', NS(foo='a', bar=['b'], baz=True)),

Definition at line 1293 of file

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