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 test_argparse.py.


Member Data Documentation

Definition at line 756 of file test_argparse.py.

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

Definition at line 757 of file test_argparse.py.

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

Definition at line 758 of file test_argparse.py.


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