#NEWLINE# def assert_called_with_threshold( mock_self , threshold , * args , **kwargs ) : #NEWLINE# #INDENT# assert_called_with_comparator ( mock_self , threshold_comparator ( threshold ) , * args , ** mock_self )