summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzyman <devnull@localhost>2007-12-03 21:56:50 +0000
committerfuzzyman <devnull@localhost>2007-12-03 21:56:50 +0000
commited6eb53950224c78f2f916bd3186622022174f92 (patch)
treeb24e43b67ce2bc1c47c9cbd75440c9d68808b655
parenta197f4668f877a74eb22bf4341881fb10c6e65d0 (diff)
downloadmock-ed6eb53950224c78f2f916bd3186622022174f92.tar.gz
Update.
Michael
-rw-r--r--mock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mock.py b/mock.py
index fdf7011..aac6a08 100644
--- a/mock.py
+++ b/mock.py
@@ -98,7 +98,7 @@ def patch(target, attribute, new=None):
for target, attribute, new in func.patch_list:
if new is None:
new = Mock()
- args = args + (new,)
+ args += (new,)
setattr(target, attribute, new)
try:
return func(*args, **keywargs)