New submission from Mads Sejersen <m...@issuu.com>:
When calling asyncio.gather the await_args_list is not correct. In the attached minimal example it contains only the latest call and not each of the three actual calls. Expected output: [call(0), call(1), call(2)] [call(1), call(2), call(3)] # or any permutation hereof Actual output: [call(0), call(1), call(2)] [call(3), call(3), call(3)] ---------- components: asyncio files: fail.py messages: 363748 nosy: Mads Sejersen, asvetlov, yselivanov priority: normal severity: normal status: open title: AsyncMock doesn't work with asyncio.gather type: behavior versions: Python 3.8 Added file: https://bugs.python.org/file48963/fail.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39915> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com