third_party/blink/tools/blinkpy/style/filereader_unittest.py
def _create_file(self, rel_path, text):
        """Create a file with given text and return the path to the file."""
        # FIXME: There are better/more secure APIs for creating tmp file paths.
        file_path = self.filesystem.join(self._temp_dir, rel_path)
        self.filesystem.write_text_file(file_path, text)
        return file_path
Create a file with given text and return the path to the file.
Create a file with given text and return the path to the file.
Create a file with given text and return the path to the file .
def _create_file(self, rel_path, text):
        file_path = self.filesystem.join(self._temp_dir, rel_path)
        self.filesystem.write_text_file(file_path, text)
        return file_path
def _create_file ( self , rel_path , text ) : file_path = self . filesystem . join ( self . _temp_dir , rel_path ) self . filesystem . write_text_file ( file_path , text ) return file_path
Create a file with given text and return the path to the file.
Create a file with given text and return the path to the file .
"""Create a file with given text and return the path to the file.""" # FIXME: There are better/more secure APIs for creating tmp file paths.
self
rel_path
text