This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dima.Tisnek
Recipients Dima.Tisnek, berker.peksag, brett.cannon, butla, jmehnle, michael.foord, rbcollins, tsutsumi, txomon, yan12125, yselivanov
Date 2019-01-08.04:16:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546920986.74.0.806900617856.issue26467@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-01-08 04:16:27Dima.Tisneksetrecipients: + Dima.Tisnek, brett.cannon, rbcollins, michael.foord, jmehnle, berker.peksag, yselivanov, txomon, yan12125, tsutsumi, butla
2019-01-08 04:16:26Dima.Tisneksetmessageid: <1546920986.74.0.806900617856.issue26467@roundup.psfhosted.org>
2019-01-08 04:16:26Dima.Tisneklinkissue26467 messages
2019-01-08 04:16:26Dima.Tisnekcreate