[New-bugs-announce] [issue37278] test_asyncio: ProactorLoopCtrlC leaks one reference

STINNER Victor report at bugs.python.org
Fri Jun 14 06:19:11 EDT 2019


New submission from STINNER Victor <vstinner at redhat.com>:

vstinner at WIN C:\vstinner\python\master>python -m test -R 3:3 test_asyncio -m test.test_asyncio.test_windows_events.ProactorLoopCtrlC.test_ctrl_c
Running Debug|x64 interpreter...
Run tests sequentially
0:00:00 load avg: 0.00 [1/1] test_asyncio
beginning 6 repetitions
123456
......
test_asyncio leaked [1, 1, 1] references, sum=3
test_asyncio leaked [2, 1, 1] memory blocks, sum=4
test_asyncio failed

== Tests result: FAILURE ==

1 test failed:
    test_asyncio

Total duration: 13 sec 391 ms
Tests result: FAILURE



Attached PR fix the issue by joining the thread.

----------
components: Tests, asyncio
messages: 345570
nosy: asvetlov, vstinner, yselivanov
priority: normal
severity: normal
status: open
title: test_asyncio: ProactorLoopCtrlC leaks one reference
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37278>
_______________________________________


More information about the New-bugs-announce mailing list