#NEWLINE# def test_hexdigest( self ) : #NEWLINE# #INDENT# for cons in self . hash_constructors : #NEWLINE# #INDENT# h = cons ( ) #NEWLINE# assert isinstance ( h . digest ( ) , bytes ) , name #NEWLINE# self . assertEqual ( hexstr ( h . digest ( ) ) , h . hexdigest ( ) )