box/genty — pull request #21 by Jeff-Meadows (2014-08-25 20:14:20+00:00)
Title: mock.patch.object works by removing params from a method's argspec (the ...

...mocked objects), but then calling the patched method with the correct number of args.

This breaks genty because genty relies on the method signature as defined when the class is wrapped with @genty. We then replace the method with a lambda which takes the wrong number of args. This patch fixes the problem by taking *args in the lambda.

Fixes #15