#NEWLINE# def unhandled_request_message( request , cassette ) : #NEWLINE# #INDENT# 'Generate exception for unhandled requests.' #NEWLINE# return UNHANDLED_REQUEST_EXCEPTION . format ( url = request . url , cassette_file_path = cassette . cassette_name , cassette_record_mode = cassette . record_mode , cassette_match_options = cassette . match_options )