#NEWLINE# def check_pdist_bool( self , metric , D_true ) : #NEWLINE# #INDENT# dm = DistanceMetric . get_metric ( metric ) #NEWLINE# D12 = dm . pairwise ( self . X1_bool ) #NEWLINE# assert_array_almost_equal ( D12 , self )