Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['a', '-f d', '-fad', '-ga', '-g 6']
list successes

Detailed Description

Tests specifying the choices for an Optional

Definition at line 625 of file

Member Data Documentation

Initial value:
        Sig('-f', choices='abc'),
        Sig('-g', type=int, choices=range(5))]

Definition at line 628 of file

list test.test_argparse.TestOptionalsChoices.failures = ['a', '-f d', '-fad', '-ga', '-g 6'] [static]

Definition at line 631 of file

Initial value:
        ('', NS(f=None, g=None)),
        ('-f a', NS(f='a', g=None)),
        ('-f c', NS(f='c', g=None)),
        ('-g 0', NS(f=None, g=0)),
        ('-g 03', NS(f=None, g=3)),
        ('-fb -g4', NS(f='b', g=4)),

Definition at line 632 of file

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