Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('-x'), Sig('-y', default=42)]
list failures = ['a']
list successes

Detailed Description

Tests specifying a default for an Optional

Definition at line 521 of file test_argparse.py.


Member Data Documentation

list test.test_argparse.TestOptionalsDefault.argument_signatures = [Sig('-x'), Sig('-y', default=42)] [static]

Definition at line 524 of file test_argparse.py.

Definition at line 525 of file test_argparse.py.

Initial value:
[
        ('', NS(x=None, y=42)),
        ('-xx', NS(x='x', y=42)),
        ('-yy', NS(x=None, y='y')),
    ]

Definition at line 526 of file test_argparse.py.


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