Back to index

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

List of all members.

Static Public Attributes

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

Detailed Description

Test an Optional with a single-dash option string

Definition at line 258 of file

Member Data Documentation

Definition at line 261 of file

list test.test_argparse.TestOptionalsSingleDash.failures = ['-x', 'a', '--foo', '-x --foo', '-x -y'] [static]

Definition at line 262 of file

Initial value:
        ('', NS(x=None)),
        ('-x a', NS(x='a')),
        ('-xa', NS(x='a')),
        ('-x -1', NS(x='-1')),
        ('-x-1', NS(x='-1')),

Definition at line 263 of file

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