#NEWLINE# def test_score_duplicates( self ) : #NEWLINE# #INDENT# scores = dedupe . core . scoreDuplicates ( self . records , self . data_model , scores . classifier , 2 ) #NEWLINE# numpy . testing . assert_equal ( scores [ 'pairs' ] , self . desired_scored_pairs [ 'pairs' ] ) #NEWLINE# numpy . testing . assert_allclose ( scores [ 'score' ] , self . desired_scored_pairs [ 'score' ] , 2 )