Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type improvements #201

Merged
merged 1 commit into from
Aug 26, 2020
Merged

Commits on Aug 26, 2020

  1. Type improvements

    Annotate MockerFixture.patch(). Without an explicit annotations, mypy
    and other type checkers can't determine the proper type and assume Any.
    
    MockerFixture.patch() can return an arbitrary type if either new or
    new_callable is provided. Add overloads to handle these cases.
    srittau authored and nicoddemus committed Aug 26, 2020
    Configuration menu
    Copy the full SHA
    2fd1ac5 View commit details
    Browse the repository at this point in the history