This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: ResourceWarning in test_tasks
Type: behavior Stage: resolved
Components: asyncio, Tests Versions: Python 3.6
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 2022-04-11 14:58 by admin. 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/ I get a ResourceWarning:

Lib/asyncio/ 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
Date User Action Args
2022-04-11 14:58:24adminsetgithub: 69992
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