Message268089
| Author |
martin.panter |
| Recipients |
brett.cannon, gvanrossum, larry, lukasz.langa, martin.panter, ncoghlan, ned.deily, python-dev, yselivanov |
| Date |
2016年06月10日.05:42:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1465537345.2.0.589998615794.issue27243@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|