[issue32710] test_asyncio: ProactorEventLoopTests sendfile tests leak references on Windows

STINNER Victor report at bugs.python.org
Mon Jan 7 22:07:28 EST 2019


STINNER Victor <vstinner at redhat.com> added the comment:

Attached test_aiosend.py is a simplified version of test to trigger the reference leak. Copy it to Lib/test/ and run:

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

== Tests result: FAILURE ==

1 test failed:
    test_aiosend

Total duration: 548 ms
Tests result: FAILURE

----------
Added file: https://bugs.python.org/file48030/test_aiosend.py

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


More information about the Python-bugs-list mailing list