◐ Shell
clean mode source ↗

Message 333208 - Python tracker

Perhaps it's possible to vendor asynctest mock in the same vein as `mock` found it's way into unittest?

The real power of `asynctest` is in constructs like:

with asynctest.mock.patch("module.Class", autospec=True):
    ...

Where mock instances know what methods are async.