Back to index

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

List of all members.

Static Public Attributes

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

Detailed Description

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

Definition at line 946 of file test_argparse.py.


Member Data Documentation

Definition at line 949 of file test_argparse.py.

Definition at line 950 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 951 of file test_argparse.py.


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