pdoc icon indicating copy to clipboard operation
pdoc copied to clipboard

Make `unittest.mock.Mock` not appear callable

Open Terrance opened this issue 3 years ago • 1 comments

Fixes #350.

Terrance avatar Aug 09 '21 07:08 Terrance

I've included a class with mocks in the test class' example module, and added a test against the signature as an expected failure (so it will show up as an unexpected success if Python's behaviour changes in the future).

Terrance avatar Aug 11 '21 22:08 Terrance