#NEWLINE# def test_nodata( self ) : #NEWLINE# #INDENT# nodata_filename = os . path . join ( data_path , 'nodata.arff' ) #NEWLINE# ( data , meta ) = loadarff ( nodata_filename ) #NEWLINE# expected_dtype = np . dtype ( [ ( 'sepallength' , '<f8' ) , ( 'sepalwidth' , '<f8' ) , ( 'petallength' , '<f8' ) , ( 'petalwidth' , '<f8' ) , ( 'class' , 'S15' ) ] ) #NEWLINE# assert_equal ( data . dtype , expected_dtype ) #NEWLINE# assert_equal ( data . size , 0 )