aboutsummaryrefslogtreecommitdiff
path: root/crosperf/results_organizer_unittest.py
diff options
context:
space:
mode:
authorTing-Yuan Huang <laszio@google.com>2016-08-02 14:02:02 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-08-02 15:21:07 -0700
commit2e307b303ac37c3e971086f23da2df25fef2c1b4 (patch)
tree3ec018b7ce6f02576aeebd430cf7ba616245d09f /crosperf/results_organizer_unittest.py
parent711a224060336a4e1dcade76233312f08dec811b (diff)
downloadtoolchain-utils-2e307b303ac37c3e971086f23da2df25fef2c1b4.tar.gz
crosperf: fix lint warnings
BUG=chromium:632098 TEST=cros lint [files] Change-Id: Ieac300bf7cb3b560fd8caaaacc3714696ca5567f Reviewed-on: https://chrome-internal-review.googlesource.com/272616 Commit-Ready: Ting-Yuan Huang <laszio@google.com> Tested-by: Ting-Yuan Huang <laszio@google.com> Reviewed-by: Caroline Tice <cmtice@google.com>
Diffstat (limited to 'crosperf/results_organizer_unittest.py')
-rwxr-xr-xcrosperf/results_organizer_unittest.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/crosperf/results_organizer_unittest.py b/crosperf/results_organizer_unittest.py
index 914ecc5e..74d5c23a 100755
--- a/crosperf/results_organizer_unittest.py
+++ b/crosperf/results_organizer_unittest.py
@@ -1,11 +1,16 @@
-#!/usr/bin/python
+#!/usr/bin/python2
# Copyright (c) 2013 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.
-"""Testing of ResultsOrganizer. We create some labels, benchmark_runs
- and then create a ResultsOrganizer, after that, we compare the result of
- ResultOrganizer"""
+
+"""Testing of ResultsOrganizer
+
+ We create some labels, benchmark_runs and then create a ResultsOrganizer,
+ after that, we compare the result of ResultOrganizer.
+ """
+
+from __future__ import print_function
import unittest
@@ -67,6 +72,7 @@ result = {'benchmark1': [[{'': 'PASS',
class ResultOrganizerTest(unittest.TestCase):
+ """Test result organizer."""
def testResultOrganizer(self):
labels = [mock_instance.label1, mock_instance.label2]