New submission from Nathaniel Smith <n...@pobox.com>:

The test_asyncio tests are generating some warnings:

0:00:00 load avg: 2.14 [1/1] test_asyncio.test_tasks
/home/njs/src/cpython/Lib/test/test_asyncio/test_tasks.py:100: RuntimeWarning: 
coroutine 'SetMethodsTest.test_set_exception_causes_invalid_state.<locals>.foo' 
was never awaited
  gc.collect()
/home/njs/src/cpython/Lib/test/test_asyncio/test_tasks.py:100: RuntimeWarning: 
coroutine 'SetMethodsTest.test_set_result_causes_invalid_state.<locals>.foo' 
was never awaited
  gc.collect()
/home/njs/src/cpython/Lib/test/test_asyncio/test_tasks.py:100: RuntimeWarning: 
coroutine 'SetMethodsTest.test_set_exception_causes_invalid_state.<locals>.foo' 
was never awaited
  gc.collect()
/home/njs/src/cpython/Lib/test/test_asyncio/test_tasks.py:100: RuntimeWarning: 
coroutine 'SetMethodsTest.test_set_result_causes_invalid_state.<locals>.foo' 
was never awaited
  gc.collect()
1 test OK.

It looks like these have been here for a while. Easy to fix though.

----------
components: Tests, asyncio
messages: 310478
nosy: asvetlov, giampaolo.rodola, njs, yselivanov
priority: normal
severity: normal
status: open
title: Warnings from test_asyncio.test_tasks.SetMethodsTest
versions: Python 3.7

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

Reply via email to