[issue25693] test_asyncio prints some messages

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Sun Nov 22 03:08:35 EST 2015


New submission from Arfrever Frehtes Taifersar Arahesis:

When running full test suite, test_asyncio prints some messages.
ResourceWarnings should be fixed.
Other messages should not be shown, at least without --verbose.

[171/398] test_epoll
[172/398] test_optparse
[173/398] test_socket
[174/398] test_sax
[175/398] test_weakref
[176/398] test_codecmaps_tw
[177/398] test_property
[178/398] test_asyncio
Executing <Task finished coro=<CoroutineTests.test_async_def_wrapped.<locals>.start() done, defined at /tmp/cpython/Lib/test/test_asyncio/test_pep492.py:146> result=None created at /tmp/cpython/Lib/asyncio/base_events.py:317> took 0.252 seconds
/tmp/cpython/Lib/threading.py:864: ResourceWarning: unclosed <socket.socket fd=24, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 58231)>
  self._target(*self._args, **self._kwargs)
returning true from eof_received() has no effect when using ssl
returning true from eof_received() has no effect when using ssl
/tmp/cpython/Lib/asyncio/base_events.py:379: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>
  warnings.warn("unclosed event loop %r" % self, ResourceWarning)
[179/398] test_os
[180/398] test_enumerate
[181/398] test_math
[182/398] test_zipfile
[183/398] test_tarfile
[184/398] test_pep380
[185/398] test_with
[186/398] test_mmap
[187/398] test_trace
[188/398] test_eintr

----------
components: Tests, asyncio
messages: 255086
nosy: Arfrever, giampaolo.rodola, gvanrossum, haypo, pitrou, yselivanov
priority: normal
severity: normal
status: open
title: test_asyncio prints some messages
versions: Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25693>
_______________________________________


More information about the Python-bugs-list mailing list