#NEWLINE# def test( self ) : #NEWLINE# #INDENT# v = GafferUI . _Variant #NEWLINE# for value in [ 'hi' , 10 , 10.0 , True , False , None ] : #NEWLINE# #INDENT# self . assertEqual ( v . fromVariant ( v . toVariant ( value ) ) , v )