Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Unified Diff: build/android/pylib/gtest/gtest_test_instance.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix appurify_sanitized import-errors Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/forwarder.py ('k') | build/android/pylib/gtest/local_device_gtest_run.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/gtest_test_instance.py
diff --git a/build/android/pylib/gtest/gtest_test_instance.py b/build/android/pylib/gtest/gtest_test_instance.py
index 4cf79345104446e50f16772a4440fd47e9586962..f14a6eb6f95fefe4e263d48da39e5faabf489e8c 100644
--- a/build/android/pylib/gtest/gtest_test_instance.py
+++ b/build/android/pylib/gtest/gtest_test_instance.py
@@ -5,7 +5,6 @@
import logging
import os
import re
-import shutil
import sys
import tempfile
@@ -16,7 +15,7 @@ from pylib.base import test_instance
sys.path.append(os.path.join(
constants.DIR_SOURCE_ROOT, 'build', 'util', 'lib', 'common'))
-import unittest_util
+import unittest_util # pylint: disable=import-error
BROWSER_TEST_SUITES = [
@@ -74,7 +73,7 @@ _DEPS_EXCLUSION_LIST = [
_EXTRA_NATIVE_TEST_ACTIVITY = (
'org.chromium.native_test.NativeTestInstrumentationTestRunner.'
'NativeTestActivity')
-_EXTRA_SHARD_SIZE_LIMIT =(
+_EXTRA_SHARD_SIZE_LIMIT = (
'org.chromium.native_test.NativeTestInstrumentationTestRunner.'
'ShardSizeLimit')
@@ -177,7 +176,7 @@ class GtestTestInstance(test_instance.TestInstance):
self._isolated_abs_path = os.path.join(
constants.GetOutDirectory(), '%s.isolated' % self._suite)
else:
- logging.warning('No isolate file provided. No data deps will be pushed.');
+ logging.warning('No isolate file provided. No data deps will be pushed.')
self._isolate_delegate = None
if args.app_data_files:
@@ -259,6 +258,7 @@ class GtestTestInstance(test_instance.TestInstance):
return '*-%s' % ':'.join(disabled_filter_items)
+ # pylint: disable=no-self-use
def ParseGTestOutput(self, output):
"""Parses raw gtest output and returns a list of results.
« no previous file with comments | « build/android/pylib/forwarder.py ('k') | build/android/pylib/gtest/local_device_gtest_run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698