[New-bugs-announce] [issue32633] Warnings from test_asyncio.test_tasks.SetMethodsTest

Nathaniel Smith report at bugs.python.org
Tue Jan 23 02:43:08 EST 2018


New submission from Nathaniel Smith <njs at 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 <report at bugs.python.org>
<https://bugs.python.org/issue32633>
_______________________________________


More information about the New-bugs-announce mailing list