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

Unified Diff: tests/git_cl_test.py

Issue 355063004: Moved around pylint disable warning comments (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/git_cl_test.py
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 570904cf60d4c18956b21813cdd6be6623497efa..f7f57b4cf9e07d363a5f52022fb6ab77136ae4e1 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -803,11 +803,12 @@ class TestGitCl(TestCase):
class ChangelistMock(object):
+ # Disable "Method could be a function"
+ # pylint: disable=R0201
+
def __init__(self, change_mock):
self.change_mock = change_mock
- # Disable "Method could be a function"
- # pylint: disable=R0201
def GetChange(self, *args):
return self.change_mock
@@ -843,11 +844,12 @@ class ChangelistMock(object):
class ChangeMock(object):
+ # Disable "Method could be a function"
+ # pylint: disable=R0201
+
def __init__(self):
self.stored_description = None
- # Disable "Method could be a function"
- # pylint: disable=R0201
def SetDescriptionText(self, desc):
self.stored_description = desc
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698