#NEWLINE# def test_from_csv( self ) : #NEWLINE# #INDENT# with open ( 'examples/testfixed_converted.csv' , 'r' ) as f : #NEWLINE# #INDENT# t = table . Table . from_csv ( f ) #NEWLINE# #UNINDENT# self . assertEqual ( type ( t ) , table . Table ) #NEWLINE# self . assertEqual ( type ( t [ 0 ] ) , table . Column ) #NEWLINE# self . assertEqual ( len ( t ) , 8 ) #NEWLINE# self . assertEqual ( f [ 2 ] [ 0 ] , 40 ) #NEWLINE# self . assertEqual ( type ( t [ 2 ] [ 0 ] ) , int ) #NEWLINE# self . assertEqual ( t [ 3 ] [ 0 ] , True ) #NEWLINE# self . assertEqual ( type ( t [ 3 ] [ 0 ] ) , bool )