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

Unified Diff: tests/gclient_scm_test.py

Issue 3473004: Remove unneeded parameter. (Closed)
Patch Set: Created 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gclient_scm_test.py
diff --git a/tests/gclient_scm_test.py b/tests/gclient_scm_test.py
index 08002d5512a8bd07e5b065f9d186cc5c8f0bd992..bd516d97d4d11566c49079a39912a4627b2b31fb 100755
--- a/tests/gclient_scm_test.py
+++ b/tests/gclient_scm_test.py
@@ -56,7 +56,7 @@ class BaseTestCase(GCBaseTestCase, SuperMoxTestBase):
class SVNWrapperTestCase(BaseTestCase):
class OptionsObject(object):
- def __init__(self, test_case, verbose=False, revision=None):
+ def __init__(self, verbose=False, revision=None):
self.verbose = verbose
self.revision = revision
self.manually_grab_svn_rev = True
@@ -67,7 +67,7 @@ class SVNWrapperTestCase(BaseTestCase):
self.stdout = gclient_scm.sys.stdout
def Options(self, *args, **kwargs):
- return self.OptionsObject(self, *args, **kwargs)
+ return self.OptionsObject(*args, **kwargs)
def setUp(self):
BaseTestCase.setUp(self)
@@ -476,7 +476,7 @@ class GitWrapperTestCase(GCBaseTestCase, StdoutCheck, TestCaseUtils,
unittest.TestCase):
"""This class doesn't use pymox."""
class OptionsObject(object):
- def __init__(self, test_case, verbose=False, revision=None):
+ def __init__(self, verbose=False, revision=None):
self.verbose = verbose
self.revision = revision
self.manually_grab_svn_rev = True
@@ -532,7 +532,7 @@ reset refs/heads/master
from :3
"""
def Options(self, *args, **kwargs):
- return self.OptionsObject(self, *args, **kwargs)
+ return self.OptionsObject(*args, **kwargs)
def CreateGitRepo(self, git_import, path):
"""Do it for real."""
« 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