tools/perf/core/results_processor/processor_test.py
def CreateHtmlTraceArtifact(self):
    """Create an empty file as a fake html trace."""
    with tempfile.NamedTemporaryFile(
        dir=self.intermediate_dir, delete=False) as artifact_file:
      pass
    return (compute_metrics.HTML_TRACE_NAME,
            testing.Artifact(artifact_file.name))
Create an empty file as a fake html trace.
Create an empty file as a fake html trace.
Create an empty file as a fake html trace .
def CreateHtmlTraceArtifact(self):
    with tempfile.NamedTemporaryFile(
        dir=self.intermediate_dir, delete=False) as artifact_file:
      pass
    return (compute_metrics.HTML_TRACE_NAME,
            testing.Artifact(artifact_file.name))
def CreateHtmlTraceArtifact ( self ) : with tempfile . NamedTemporaryFile ( dir = self . intermediate_dir , delete = False ) as artifact_file : pass return ( compute_metrics . HTML_TRACE_NAME , testing . Artifact ( artifact_file . name ) )
Create an empty file as a fake html trace.
Create an empty file as a fake html trace .
"""Create an empty file as a fake html trace."""
self