Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['-2', '-315']
list successes

Detailed Description

Tests negative number args when numeric options are present

Definition at line 1157 of file test_argparse.py.


Member Data Documentation

Initial value:
[
        Sig('x', nargs='?'),
        Sig('-4', dest='y', action='store_true'),
    ]

Definition at line 1160 of file test_argparse.py.

Definition at line 1164 of file test_argparse.py.

Initial value:
[
        ('', NS(x=None, y=False)),
        ('a', NS(x='a', y=False)),
        ('-4', NS(x=None, y=True)),
        ('-4 a', NS(x='a', y=True)),
    ]

Definition at line 1165 of file test_argparse.py.


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