Back to index

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

List of all members.

Static Public Attributes

tuple parser_signature = Sig(argument_default=42, version='1.0')
list argument_signatures
list failures = ['-x']
list successes

Detailed Description

Test actions with a parser-level default of 42

Definition at line 1323 of file test_argparse.py.


Member Data Documentation

Initial value:
[
        Sig('foo', nargs='?'),
        Sig('bar', nargs='*'),
        Sig('--baz', action='store_true'),
    ]

Definition at line 1327 of file test_argparse.py.

Definition at line 1332 of file test_argparse.py.

tuple test.test_argparse.TestParserDefault42.parser_signature = Sig(argument_default=42, version='1.0') [static]

Definition at line 1326 of file test_argparse.py.

Initial value:
[
        ('', NS(foo=42, bar=42, baz=42)),
        ('a', NS(foo='a', bar=42, baz=42)),
        ('a b', NS(foo='a', bar=['b'], baz=42)),
        ('--baz', NS(foo=42, bar=42, baz=True)),
        ('a --baz', NS(foo='a', bar=42, baz=True)),
        ('--baz a b', NS(foo='a', bar=['b'], baz=True)),
    ]

Definition at line 1333 of file test_argparse.py.


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