Moved around pylint disable warning comments

BUG=

Review URL: https://codereview.chromium.org/355063004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@280051 0039d316-1c4b-4281-b951-d872f2087c98
parent 090df6ab
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment