#NEWLINE# def test_match_rating_comparison_segfault( ) : #NEWLINE# #INDENT# import hashlib #NEWLINE# from jellyfish import cjellyfish as jf #NEWLINE# sha1s = [ '{}' . format ( hashlib . sha1 ( str ( v ) . encode ( 'ascii' ) ) . hexdigest ( ) ) for v in range ( 100 ) ] #NEWLINE# assert [ [ jf . match_rating_comparison ( h1 , h2 ) for h1 in sha1s ] for h2 in sha1s ]