Closed chrisheaththomas closed 4 years ago
mock function docstring typo:
mock
when(dummy).__call_(1).thenReturn(2)
missing underscore in method call i.e.
__call_ should be __call__
__call_
__call__
Caught me out! Still, I learned about call in the process :)
Ouch 🤦, thanks for reporting!
mock
function docstring typo:when(dummy).__call_(1).thenReturn(2)
missing underscore in method call i.e.
__call_
should be__call__
Caught me out! Still, I learned about call in the process :)