Message268089
Test suite emits a new warning, and fails under python -Werror:
======================================================================
ERROR: test_readline (test.test_asyncio.test_pep492.StreamReaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/media/disk/home/proj/python/cpython/Lib/test/test_asyncio/test_pep492.py", line 89, in test_readline
data = self.loop.run_until_complete(reader())
File "/media/disk/home/proj/python/cpython/Lib/asyncio/base_events.py", line 387, in run_until_complete
return future.result()
File "/media/disk/home/proj/python/cpython/Lib/asyncio/futures.py", line 274, in result
raise self._exception
File "/media/disk/home/proj/python/cpython/Lib/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/media/disk/home/proj/python/cpython/Lib/test/test_asyncio/test_pep492.py", line 85, in reader
async for line in stream:
PendingDeprecationWarning: 'StreamReader' implements legacy __aiter__ protocol; __aiter__ should return an asynchronous iterator, not awaitable |
|
Date |
User |
Action |
Args |
2016-06-10 05:42:25 | martin.panter | set | recipients:
+ martin.panter, gvanrossum, brett.cannon, ncoghlan, larry, ned.deily, lukasz.langa, python-dev, yselivanov |
2016-06-10 05:42:25 | martin.panter | set | messageid: <1465537345.2.0.589998615794.issue27243@psf.upfronthosting.co.za> |
2016-06-10 05:42:25 | martin.panter | link | issue27243 messages |
2016-06-10 05:42:24 | martin.panter | create | |
|