New submission from Andrew Svetlov <andrew.svet...@gmail.com>:

After merging https://github.com/python/cpython/pull/9296 asyncio test suite 
prints a lot of warnings like

Exception ignored in: <coroutine object AsyncMockMixin._mock_call at 
0x7fb648a1c170>
Traceback (most recent call last):
  File "/home/andrew/projects/cpython/Lib/warnings.py", line 510, in 
_warn_unawaited_coroutine
    warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
RuntimeWarning: coroutine 'AsyncMockMixin._mock_call' was never awaited

I believe this is not a sign of AsyncMock problem but asyncio tests should be 
fixed.
Need more investigations though.

----------
components: Tests
messages: 343223
nosy: asvetlov
priority: normal
severity: normal
status: open
title: Fix asyncio mock wranings
type: behavior
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37015>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to