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

Unified Diff: testing_support/auto_stub.py

Issue 11801018: Fix small error in SimpleMock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 11 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: testing_support/auto_stub.py
diff --git a/testing_support/auto_stub.py b/testing_support/auto_stub.py
index 5fa481b46d6e63ced10800e4217473b4c53e38e0..5a2b398c3585b904cb3525b766f8ba6f6eab5111 100644
--- a/testing_support/auto_stub.py
+++ b/testing_support/auto_stub.py
@@ -56,8 +56,6 @@ class AutoStubMixIn(object):
class SimpleMock(object):
"""Really simple manual class mock."""
- calls = []
-
def __init__(self, unit_test):
"""Do not call __init__ if you want to use the global call list to detect
ordering across different instances.
« 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