Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['a', '-c', 'a -c', '-bx', '-b x']
list successes

Detailed Description

Tests the append_const action for an Optional

Definition at line 723 of file

Member Data Documentation

Initial value:
        Sig('-b', action='append_const', const=Exception),
        Sig('-c', action='append', dest='b'),

Definition at line 726 of file

list test.test_argparse.TestOptionalsActionAppendConst.failures = ['a', '-c', 'a -c', '-bx', '-b x'] [static]

Definition at line 730 of file

Initial value:
        ('', NS(b=None)),
        ('-b', NS(b=[Exception])),
        ('-b -cx -b -cyz', NS(b=[Exception, 'x', Exception, 'yz'])),

Definition at line 731 of file

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