[issue45028] module 'unittest.mock' has no attribute 'AsyncMock'

Phani Kumar Yadavilli report at bugs.python.org
Fri Aug 27 10:26:38 EDT 2021


Phani Kumar Yadavilli <phanikumaryadavilli at gmail.com> added the comment:

Sure, will do that.
Regards
Phani kumar yadavilli

On Fri, Aug 27, 2021 at 7:54 PM Karthikeyan Singaravelan <
report at bugs.python.org> wrote:

>
> Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:
>
> AsyncMock is a feature of Python 3.8 . Please upgrade to Python 3.8 or use
> mock backport for AsyncMock in Python 3.7
> https://github.com/testing-cabal/mock . I guess this can be closed as not
> a bug.
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue45028>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45028>
_______________________________________


More information about the Python-bugs-list mailing list