Module Expr Str Assign NameStore Str Import alias Import alias Import alias identifier ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Num Num Num Str Str Str keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr keyword Str decorator_list decorator_list
N/A N/A The Enum unit test. N/A __version__ $Revision: #1 $ N/A unittest N/A os N/A mplStyle.types S MySubStyle N/A N/A S SubStyle N/A N/A A Sub-Classed Style. N/A prop N/A N/A N/A S property Enum N/A 1 2 3 A B C default None N/A TestEnum N/A N/A unittest TestCase N/A N/A Enum module. setUp N/A N/A self N/A N/A N/A This method is called before any tests are run. N/A N/A tearDown N/A N/A self N/A N/A N/A This method is called after all tests are run. N/A N/A testEnum N/A N/A self N/A N/A N/A Test Enum style property. N/A style N/A MySubStyle N/A N/A N/A self assertEqual None N/A N/A MySubStyle prop default msg Class default value for 'prop' wrong N/A N/A N/A self assertEqual None N/A style prop msg Instance default value for 'style.prop' wrong N/A N/A style prop 1 N/A N/A N/A self assertEqual None N/A N/A MySubStyle prop default msg 1) Class default value for 'prop' changed N/A N/A N/A self assertEqual A N/A style prop msg 1) Instance value for 'style.prop' wrong N/A newStyle N/A MySubStyle prop 3 N/A N/A N/A self assertEqual None N/A N/A MySubStyle prop default msg 2) Class default value for 'prop' changed N/A N/A N/A self assertEqual A N/A style prop msg 2) Instance value for 'style.prop' wrong N/A N/A N/A self assertEqual C N/A newStyle prop msg 2) Instance value for 'newStyle.prop' wrong N/A N/A newStyle prop 2 N/A N/A N/A self assertEqual None N/A N/A MySubStyle prop default msg 3) Class default value for 'prop' changed N/A N/A N/A self assertEqual A N/A style prop msg 3) Instance value for 'style.prop' wrong N/A N/A N/A self assertEqual B N/A newStyle prop msg 3) Instance value for 'newStyle.prop' wrong N/A msg Failed to raise on invalid value. N/A N/A N/A self assertRaises Exception MySubStyle prop bad msg msg N/A s Enum: MySubStyle.prop N/A N/A N/A self assertEqual s N/A str N/A MySubStyle prop msg Incorrect string value N/A N/A