Back to index

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

List of all members.

Static Public Attributes

list argument_signatures = [Sig('foo', nargs='+'), Sig('bar', nargs=1)]
list failures = ['', '--foo', 'a']
list successes

Detailed Description

Test a Positional with one or more nargs followed by one with 1

Definition at line 1012 of file test_argparse.py.


Member Data Documentation

list test.test_argparse.TestPositionalsNargsOneOrMore1.argument_signatures = [Sig('foo', nargs='+'), Sig('bar', nargs=1)] [static]

Definition at line 1015 of file test_argparse.py.

Definition at line 1016 of file test_argparse.py.

Initial value:
[
        ('a b', NS(foo=['a'], bar=['b'])),
        ('a b c', NS(foo=['a', 'b'], bar=['c'])),
    ]

Definition at line 1017 of file test_argparse.py.


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