New submission from Pablo Galindo Salgado <pablog...@gmail.com>:
https://buildbot.python.org/all/#/builders/1/builds/609/steps/5/logs/stdio ===================================================================== FAIL: test_stream_reader_create_warning (test.test_asyncio.test_streams.StreamTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.refleak/build/Lib/test/test_asyncio/test_streams.py", line 1233, in test_stream_reader_create_warning asyncio.StreamReader AssertionError: DeprecationWarning not triggered ====================================================================== FAIL: test_stream_writer_create_warning (test.test_asyncio.test_streams.StreamTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/buildbot/buildarea/cpython/3.x.ware-gentoo-x86.refleak/build/Lib/test/test_asyncio/test_streams.py", line 1237, in test_stream_writer_create_warning asyncio.StreamWriter AssertionError: DeprecationWarning not triggered The problem is that when the test is repeated using the -R, asyncio has cached already StreamReader and StreamWriter into globals, not triggering the warning again. ---------- components: Tests, asyncio keywords: buildbot messages: 344537 nosy: asvetlov, lukasz.langa, pablogsal, vstinner, yselivanov priority: normal severity: normal stage: needs patch status: open title: test_asyncio fails on refleaks buildbots type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37148> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com