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.

Author pablogsal
Recipients asvetlov, lukasz.langa, pablogsal, vstinner, yselivanov
Date 2019-06-04.10:08:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2019-06-04 10:08:45pablogsalsetrecipients: + pablogsal, vstinner, asvetlov, lukasz.langa, yselivanov
2019-06-04 10:08:45pablogsalsetmessageid: <[email protected]>
2019-06-04 10:08:45pablogsallinkissue37148 messages
2019-06-04 10:08:44pablogsalcreate