Ben Reilly added the comment:
Yes, your description sounds right, and I had zero-ed in on the same park of
the mock code when I was doing my investigation.
I know that this is a peculiar situation, but one thing to note is that
`inspect.signature` gets the signature right on these wrapped
Change by Ben Reilly :
--
nosy: +breilly_box
___
Python tracker
<https://bugs.python.org/issue30587>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Ben Reilly :
--
components: +Tests
___
Python tracker
<https://bugs.python.org/issue38729>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Ben Reilly :
mock.create_autospec is meant to create a mock that will ensure, among other
things, that method calls on the mock correspond to real methods on the
original object and that the arguments match the signature of the original
method. However, if the original