summaryrefslogtreecommitdiff
path: root/mocker.py
diff options
context:
space:
mode:
Diffstat (limited to 'mocker.py')
-rw-r--r--mocker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mocker.py b/mocker.py
index a8904f3..ac6d1d5 100644
--- a/mocker.py
+++ b/mocker.py
@@ -2020,7 +2020,7 @@ class Patcher(Task):
try:
return unpatched(*action.args, **action.kwargs)
except AttributeError:
- (type, value, traceback) = sys.exc_info()
+ type, value, traceback = sys.exc_info()
if action.kind == "getattr":
# The normal behavior of Python is to try __getattribute__,
# and if it raises AttributeError, try __getattr__. We've