Module Expr Str Assign NameStore Str Import alias Import alias Import alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call NameLoad TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call NameLoad ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str keyword Str keyword Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list decorator_list
N/A N/A The ToMplColor unit test. N/A __version__ $Revision: #1 $ N/A unittest N/A os N/A mplStyle.types.convert cvt PyQt4 QtGui TesttoMplColor N/A N/A unittest TestCase N/A N/A ToMplColor module. setUp N/A N/A self N/A N/A N/A This method is called before any tests are run. 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 testToMplColor N/A N/A self N/A N/A N/A Test the ToMplColor converter. N/A converter N/A cvt toMplColor N/A t N/A converter red N/A N/A N/A self assertEqual #FF0000 t Incorrect conversion of a string. N/A t N/A converter N/A N/A QtGui QColor 0 255 0 N/A N/A N/A self assertEqual #00FF00 t Incorrect conversion of a QColor. N/A t N/A converter None N/A N/A N/A self assertEqual none t Incorrect conversion of a GlColor. N/A t N/A converter N/A 1.0 0.0 0.0 1.0 N/A N/A N/A self assertEqual #FF0000 t Incorrect conversion of a float tuple. N/A t N/A converter N/A 0 255 0 1 N/A N/A N/A self assertEqual #00FF00 t Incorrect conversion of an int list. N/A t N/A converter r N/A N/A N/A self assertEqual #FF0000 t Incorrect conversion of 'r'. N/A t N/A converter g N/A N/A N/A self assertEqual #008000 t Incorrect conversion of 'g'. N/A t N/A converter b N/A N/A N/A self assertEqual #0000FF t Incorrect conversion of 'b'. N/A t N/A converter k N/A N/A N/A self assertEqual #000000 t Incorrect conversion of 'k'. N/A t N/A converter w N/A N/A N/A self assertEqual #FFFFFF t Incorrect conversion of 'w'. N/A N/A N/A self assertRaises Exception converter None name value msg None argument should be an error. N/A N/A N/A self assertRaises Exception converter foo bar name value msg String argument should be an error. N/A t N/A converter None allowNone True N/A N/A N/A self assertEqual None t Incorrect conversion of None. N/A N/A