def _CreateTempFile(self):
    fh, fname = tempfile.mkstemp(prefix="ganeti-test", suffix=".tmp")
    os.close(fh)
    self._temp_files.append(fname)
    return fname

# pylint: enable=R0904
dumpToFile() -> None
dataset/ETHPy150Open ganeti/ganeti/test/py/testutils/__init__.py/GanetiTestCase._CreateTempFile--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/contrib/titan/vtkviewcell.py/QVTKViewWidget.dumpToFile