From a29b4ac76a0d7226b35e3209fe5ab2e33fe0793a Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Tue, 6 Feb 2018 16:24:36 +0000 Subject: [PATCH] Fix the Stub.add_call_exact() signature. --- tests/helpers/stub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/helpers/stub.py b/tests/helpers/stub.py index c51eff90..122338fd 100644 --- a/tests/helpers/stub.py +++ b/tests/helpers/stub.py @@ -13,7 +13,7 @@ class Stub(object): def add_call(self, name, *args, **kwargs): self.add_call_exact(name, args, kwargs) - def add_call_exact(self, name, args, kwargs): + def add_call_exact(self, name, args=None, kwargs=None): self.calls.append((name, args, kwargs)) def maybe_raise(self):