Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('-x', nargs='*'), Sig('y', nargs='*')]
list failures = []
list successes

Detailed Description

Tests specifying an args for an Optional that accepts zero or more

Definition at line 1228 of file

Member Data Documentation

list test.test_argparse.TestNargsZeroOrMore.argument_signatures = [Sig('-x', nargs='*'), Sig('y', nargs='*')] [static]

Definition at line 1231 of file

Definition at line 1232 of file

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

Definition at line 1233 of file

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