Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['-y']
list successes

Detailed Description

Definition at line 1190 of file test_argparse.py.


Member Data Documentation

Initial value:
[
        Sig('x', nargs='?'),
        Sig('-y', '--yyy', dest='y'),
    ]

Definition at line 1192 of file test_argparse.py.

Definition at line 1196 of file test_argparse.py.

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

Definition at line 1197 of file test_argparse.py.


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