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

Unified Diff: build/android/pylib/utils/timeout_retry_unittest.py

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase vs tot and only disabling F0401 in specific spots Created 6 years, 10 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/utils/timeout_retry.py ('k') | build/android/pylib/utils/xvfb.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/utils/timeout_retry_unittest.py
diff --git a/build/android/pylib/utils/timeout_retry_unittest.py b/build/android/pylib/utils/timeout_retry_unittest.py
index b1d4e67175c9d5670fe7aca612090b8915a65954..dc36c42ba5cea70edd93c84c078573af3291b6c5 100644
--- a/build/android/pylib/utils/timeout_retry_unittest.py
+++ b/build/android/pylib/utils/timeout_retry_unittest.py
@@ -6,15 +6,15 @@
import unittest
-import reraiser_thread
-import timeout_retry
+from pylib.utils import reraiser_thread
+from pylib.utils import timeout_retry
class TestException(Exception):
pass
-def _NeverEnding(tries=[0]):
+def _NeverEnding(tries):
tries[0] += 1
while True:
pass
« no previous file with comments | « build/android/pylib/utils/timeout_retry.py ('k') | build/android/pylib/utils/xvfb.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698