kaste / mockito-python

Mockito is a spying framework
MIT License
123 stars 12 forks source link

mock function docstring typo #32

Closed chrisheaththomas closed 4 years ago

chrisheaththomas commented 4 years ago

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 :)

kaste commented 4 years ago

Ouch 🤦, thanks for reporting!