New submission from Antoine Pitrou:

It could be nice if it could stay silent (at least in non-verbose mode).

[ 24/390] test_asyncio
Task was destroyed but it is pending!
task: <Task pending coro=<CoroutineGatherTests.wrap_futures.<locals>.coro() 
running at 
/home/antoine/cpython/default/Lib/test/test_asyncio/test_tasks.py:1862> 
cb=[gather.<locals>._done_callback(2)() at 
/home/antoine/cpython/default/Lib/asyncio/tasks.py:577] wait_for=<Future 
finished result=3>>
Task was destroyed but it is pending!
task: <Task pending coro=<CoroutineGatherTests.wrap_futures.<locals>.coro() 
running at 
/home/antoine/cpython/default/Lib/test/test_asyncio/test_tasks.py:1862> 
cb=[gather.<locals>._done_callback(3)() at 
/home/antoine/cpython/default/Lib/asyncio/tasks.py:577] wait_for=<Future 
cancelled>>
Task was destroyed but it is pending!
task: <Task pending coro=<CoroutineGatherTests.wrap_futures.<locals>.coro() 
running at 
/home/antoine/cpython/default/Lib/test/test_asyncio/test_tasks.py:1862> 
cb=[gather.<locals>._done_callback(4)() at 
/home/antoine/cpython/default/Lib/asyncio/tasks.py:577] wait_for=<Future 
finished exception=RuntimeError()>>
Task was destroyed but it is pending!
task: <Task pending coro=<sleep() done, defined at 
/home/antoine/cpython/default/Lib/asyncio/tasks.py:489> wait_for=<Future 
pending cb=[Task._wakeup()]>>
Read pipe 9 connected: (<_UnixReadPipeTransport fd=9 polling>, 
<asyncio.streams.StreamReaderProtocol object at 0x7f2c0b358dc0>)
execute program '/home/antoine/cpython/default/python'
process '/home/antoine/cpython/default/python' created: pid 4233
execute program '/home/antoine/cpython/default/python': 
<_UnixSubprocessTransport pid=4233>
poll took 36.605 ms: 1 events
poll took 6.615 ms: 0 events
process 4233 exited with returncode 0
<_UnixSubprocessTransport pid=4233> exited with return code 0
poll took 0.032 ms: 1 events
<_UnixReadPipeTransport fd=9 polling> was closed by peer

----------
components: Tests
messages: 223156
nosy: giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov
priority: normal
severity: normal
status: open
title: test_asyncio prints some junk
type: behavior

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

Reply via email to