diff options
author | fuzzyman <devnull@localhost> | 2007-12-03 21:56:50 +0000 |
---|---|---|
committer | fuzzyman <devnull@localhost> | 2007-12-03 21:56:50 +0000 |
commit | ed6eb53950224c78f2f916bd3186622022174f92 (patch) | |
tree | b24e43b67ce2bc1c47c9cbd75440c9d68808b655 | |
parent | a197f4668f877a74eb22bf4341881fb10c6e65d0 (diff) | |
download | mock-ed6eb53950224c78f2f916bd3186622022174f92.tar.gz |
Update.
Michael
-rw-r--r-- | mock.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)
|