[New-bugs-announce] [issue37148] test_asyncio fails on refleaks buildbots

Pablo Galindo Salgado report at bugs.python.org
Tue Jun 4 06:08:45 EDT 2019


New submission from Pablo Galindo Salgado <pablogsal at 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 <report at bugs.python.org>
<https://bugs.python.org/issue37148>
_______________________________________


More information about the New-bugs-announce mailing list