pdoc3 / pdoc

:snake: :arrow_right: :scroll: Auto-generate API documentation for Python projects
https://pdoc3.github.io/pdoc/
GNU Affero General Public License v3.0
1.12k stars 145 forks source link

Make `unittest.mock.Mock` not appear callable #352

Closed Terrance closed 2 months ago

Terrance commented 3 years ago

Fixes #350.

Terrance commented 3 years ago

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

kernc commented 2 months ago

Lgtm. Thanks!