aboutsummaryrefslogtreecommitdiff
path: root/crosperf/experiment_file_unittest.py
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@chromium.org>2016-07-29 15:48:50 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-29 17:43:54 -0700
commit12d0f2398963f4b9eaded60786422a455f199e45 (patch)
tree6602dbc9a19d982efbd5850d117a83ebed48e66e /crosperf/experiment_file_unittest.py
parent40ca64bca93984da431ff83739467553bcf7882e (diff)
downloadtoolchain-utils-12d0f2398963f4b9eaded60786422a455f199e45.tar.gz
crosperf: fix lint warnings.
This fixes the lint warnings from these four files. BUG=chromium:632108 TEST=the lint warnings are gone. Change-Id: Ia923a1e9b8b5ec5d48a02caa1f8ed611857f0ec5 Reviewed-on: https://chrome-internal-review.googlesource.com/272021 Commit-Ready: Yunlian Jiang <yunlian@google.com> Tested-by: Yunlian Jiang <yunlian@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/experiment_file_unittest.py')
-rwxr-xr-xcrosperf/experiment_file_unittest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/crosperf/experiment_file_unittest.py b/crosperf/experiment_file_unittest.py
index 97779410..bb4f2256 100755
--- a/crosperf/experiment_file_unittest.py
+++ b/crosperf/experiment_file_unittest.py
@@ -1,9 +1,11 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+"""The unittest of experiment_file."""
+from __future__ import print_function
import StringIO
import unittest
from experiment_file import ExperimentFile
@@ -84,7 +86,7 @@ label: image2 {
class ExperimentFileTest(unittest.TestCase):
-
+ """The main class for Experiment File test."""
def testLoadExperimentFile1(self):
input_file = StringIO.StringIO(EXPERIMENT_FILE_1)
experiment_file = ExperimentFile(input_file)