Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:
IMO it gives a good segregation between other mocks and AsyncMock that using assert_awaited_* makes it explicit and to cause less confusion over whether this is an awaitable or a synchronous mock. I would favor in keeping the API. I also found it to better in conceptualizing while writing tests for other PRs over having assert_call_* and assert_await_*. ---------- nosy: +asvetlov, mariocj89, yselivanov _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38136> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com