Back to index

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

List of all members.

Static Public Attributes

list argument_signatures
list failures = ['a', '42j', '--eggs a', '--eggs 2i']
list successes

Detailed Description

Test some callables as option/argument types

Definition at line 1540 of file

Member Data Documentation

Initial value:
        Sig('--eggs', type=complex),
        Sig('spam', type=float),

Definition at line 1543 of file

list test.test_argparse.TestTypeCallable.failures = ['a', '42j', '--eggs a', '--eggs 2i'] [static]

Definition at line 1547 of file

Initial value:
        ('--eggs=42 42', NS(eggs=42, spam=42.0)),
        ('--eggs 2j -- -1.5', NS(eggs=2j, spam=-1.5)),
        ('1024.675', NS(eggs=None, spam=1024.675)),

Definition at line 1548 of file

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