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

Unified Diff: build/android/devil/android/logcat_monitor_test.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: build/android/devil/android/logcat_monitor_test.py
diff --git a/build/android/devil/android/logcat_monitor_test.py b/build/android/devil/android/logcat_monitor_test.py
index b0e17bacf18703580407ffcbf9624e0dc140d8b4..ff838f779e5ee2d674ddd58217d78d00f3a49d8d 100755
--- a/build/android/devil/android/logcat_monitor_test.py
+++ b/build/android/devil/android/logcat_monitor_test.py
@@ -3,12 +3,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# pylint: disable=protected-access
+
import itertools
import os
import sys
import unittest
-from devil.android import decorators
from devil.android import logcat_monitor
from devil.android.sdk import adb_wrapper
from pylib import constants
@@ -36,6 +37,7 @@ class LogcatMonitorTest(unittest.TestCase):
'01-01 01:02:03.462 3456 6543 D LogcatMonitorTest: '
'ignore me',]
+ # pylint: disable=no-self-use
def _createTestLog(self, raw_logcat=None):
perezju 2015/09/04 09:01:53 why is this a method?
jbudorick 2015/09/04 16:51:56 not sure. moved out of LogcatMonitorTest
test_adb = adb_wrapper.AdbWrapper('0123456789abcdef')
test_adb.Logcat = mock.Mock(return_value=(l for l in raw_logcat))

Powered by Google App Engine
This is Rietveld 408576698