#NEWLINE# def test_skip( self ) : #NEWLINE# #INDENT# obj = XLSXObject ( data_path ( 'data.xlsx' ) , FieldList ( 'number' , 'name' ) , skip_rows = 2 ) #NEWLINE# self . assertEqual ( [ 'number' , 'name' ] , obj . fields . names ( ) ) #NEWLINE# rows = list ( obj . rows ( ) ) #NEWLINE# self . assertEqual ( 2 , len ( self ) ) #NEWLINE# self . assertEqual ( 2 , len ( rows ) ) #NEWLINE# self . assertSequenceEqual ( [ 3.0 , 'Cecil' ] , rows [ 0 ] )