Title: test_asyncio prints some messages
Type: Stage:
Components: asyncio, Tests Versions: Python 3.6, Python 3.4, Python 3.5
Status: closed Resolution: duplicate
Dependencies: Superseder: asyncio tests are getting noisy
View: 25272
Assigned To: Nosy List: Arfrever, giampaolo.rodola, gvanrossum, pitrou, vstinner, yselivanov
Priority: normal Keywords:

Created on 2015-11-22 08:08 by Arfrever, last changed 2015-11-22 09:11 by martin.panter. This issue is now closed.

Messages (1)
msg255086 - (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) * (Python triager) Date: 2015-11-22 08:08
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/> result=None created at /tmp/cpython/Lib/asyncio/> took 0.252 seconds
/tmp/cpython/Lib/ ResourceWarning: unclosed <socket.socket fd=24, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('', 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/ 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
Date User Action Args
2015-11-22 09:11:25martin.pantersetstatus: open -> closed
superseder: asyncio tests are getting noisy
resolution: duplicate
2015-11-22 08:08:35Arfrevercreate