classification
Title: ResourceWarning in test_tasks
Type: behavior Stage: resolved
Components: asyncio, Tests Versions: Python 3.6
process
Status: closed Resolution: duplicate
Dependencies: Superseder: asyncio tests are getting noisy
View: 25272
Assigned To: Nosy List: SilentGhost, giampaolo.rodola, gvanrossum, martin.panter, pitrou, vstinner, yselivanov
Priority: normal Keywords:

Created on 2015-12-05 11:36 by SilentGhost, last changed 2015-12-05 12:24 by SilentGhost. This issue is now closed.

Messages (3)
msg255944 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2015-12-05 11:36
When running ./python Lib/test/test_asyncio/test_tasks.py I get a ResourceWarning:

Lib/asyncio/base_events.py:379: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False>

When running using test machinery: ./python -m test test_asyncio (I didn't figure out how to run that individual test) everything is fine.
msg255947 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2015-12-05 12:18
This could be the same as one of the messages listed in Issue 25272.
msg255948 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2015-12-05 12:24
Indeed it's one of those posted in the msg255490
History
Date User Action Args
2015-12-05 12:24:32SilentGhostsetstatus: open -> closed
superseder: asyncio tests are getting noisy
messages: + msg255948

resolution: duplicate
stage: resolved
2015-12-05 12:18:05martin.pantersetnosy: + martin.panter
messages: + msg255947
2015-12-05 11:38:22SilentGhostsetnosy: + pitrou, giampaolo.rodola
2015-12-05 11:36:02SilentGhostcreate