Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('-1', dest='one')]
list failures = ['-1', 'a', '-1 --foo', '-1 -y', '-1 -1', '-1 -2']
list successes

Detailed Description

Test an Optional with a short opt string

Definition at line 344 of file test_argparse.py.


Member Data Documentation

Definition at line 347 of file test_argparse.py.

list test.test_argparse.TestOptionalsNumeric.failures = ['-1', 'a', '-1 --foo', '-1 -y', '-1 -1', '-1 -2'] [static]

Definition at line 348 of file test_argparse.py.

Initial value:
[
        ('', NS(one=None)),
        ('-1 a', NS(one='a')),
        ('-1a', NS(one='a')),
        ('-1-2', NS(one='-2')),
    ]

Definition at line 349 of file test_argparse.py.


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