call the function warnings.warn with 3 arguments: string "`%s.%s` method should be renamed `%s`.",
warnings . warn ( "`%s.%s` method should be renamed `%s`." % ( class_name , old_method_name , new_method_name ) , deprecation_warning , 2 )