#NEWLINE# def test_float_schema( self ) : #NEWLINE# #INDENT# schema = { #NEWLINE# #INDENT# 'type' : schema_utils . SCHEMA_TYPE_FLOAT , #NEWLINE# #UNINDENT# } #NEWLINE# mappings = [ ( 1.2 , 1.2 ) , ( 3 , 3.0 ) , ( ( - 1 ) , ( - 1.0 ) ) , ( '1' , 1.0 ) ] #NEWLINE# invalid_vals = [ [ 13 ] , 'abc' , None ] #NEWLINE# self . check_normalization ( schema , mappings , invalid_vals )