tools/perf/core/tbmv3/trace_processor_unittest.py
def CreateEmptyProtoTrace(self):
    """Create an empty file as a proto trace."""
    with tempfile.NamedTemporaryFile(dir=self.temp_dir,
                                     delete=False) as trace_file:
      # Open temp file and close it so it's written to disk.
      pass
    return trace_file.name
Create an empty file as a proto trace.
Create an empty file as a proto trace.
Create an empty file as a proto trace .
def CreateEmptyProtoTrace(self):
    with tempfile.NamedTemporaryFile(dir=self.temp_dir,
                                     delete=False) as trace_file:
      pass
    return trace_file.name
def CreateEmptyProtoTrace ( self ) : with tempfile . NamedTemporaryFile ( dir = self . temp_dir , delete = False ) as trace_file : pass return trace_file . name
Create an empty file as a proto trace.
Create an empty file as a proto trace .
"""Create an empty file as a proto trace.""" # Open temp file and close it so it's written to disk.
self