def make_temp_data_file(self, suffix='<STR_LIT>', directory=None, data = '<STR_LIT>'):
temp_file_path = self.make_temp_file(suffix=suffix, directory=directory)<EOL>temp_file = open(temp_file_path, '<STR_LIT>')<EOL>temp_file.write(data)<EOL>temp_file.close()<EOL>return temp_file_path<EOL>
Returns an absolute path of a temp file containing data.