Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('-x', action='count')]
list failures = ['a', '-x a', '-x b', '-x a -x b']
list successes

Detailed Description

Tests the count action for an Optional

Definition at line 753 of file

Member Data Documentation

Definition at line 756 of file

list test.test_argparse.TestOptionalsActionCount.failures = ['a', '-x a', '-x b', '-x a -x b'] [static]

Definition at line 757 of file

Initial value:
        ('', NS(x=None)),
        ('-x', NS(x=1)),

Definition at line 758 of file

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