Open GoogleCodeExporter opened 9 years ago
The first parameter is removed from the signature of unbound methods: {{{ >>> class Foo(object): ... def foo(self): ... pass ... >>> Foo.foo(Foo()) >>> from mock import create_autospec >>> MockFoo = create_autospec(Foo) >>> MockFoo.foo(MockFoo()) Traceback (most recent call last): ... TypeError: <lambda>() takes exactly 1 argument (2 given) }}}
Original issue reported on code.google.com by fuzzyman on 3 Jan 2012 at 5:03
fuzzyman
Original comment by fuzzyman on 25 Mar 2012 at 3:48
Original comment by fuzzyman on 28 Mar 2012 at 3:05
Original comment by fuzzyman on 3 Sep 2012 at 12:34
Original issue reported on code.google.com by
fuzzyman
on 3 Jan 2012 at 5:03