Skip to content

Remove make_mocked_coro() #9212

@Dreamsorcerer

Description

@Dreamsorcerer

aiohttp.test_utils.make_mocked_coro() basically does what mock.AsyncMock() does and is not relevant today.

We should remove it, but there are still a lot of references to it in the tests, so will require replacing all those references (with mock.patch, mock.create_autospec etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestWe think it's good for https://hacktoberfest.digitalocean.com/enhancementgood first issueGood for newcomerstests

    Type

    No type

    Projects

    Status

    Done

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions