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

Use stdlib AsyncMock when available #1297

Merged
merged 2 commits into from
Apr 11, 2024
Merged

Commits on Apr 5, 2024

  1. Use stdlib AsyncMock when available

    As indicated in the `asyncmock` project description:
    
    > Mock 4.0+ (included within Python 3.8+) now includes an awaitable mock
    > `mock.AsyncMock`. This is recommended for new projects.
    
    Appropriately, update the test code to use `unittest.mock.AsyncMock`
    in Python 3.8+, and update the test requirements to pull in `mock >=
    4.0` (rather than the obsolete `asyncmock` package) for older Python
    versions.
    mgorny committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    417ea2b View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. Configuration menu
    Copy the full SHA
    68a174a View commit details
    Browse the repository at this point in the history