Message351651
async_case passes loop parameter to the queue used to collect tests and this causes below DeprecationWarning with last change over deprecation in queues and locks API.
./python.exe -m unittest Lib.unittest.test.test_async_case
/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/unittest/async_case.py:116: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
self._asyncioCallsQueue = asyncio.Queue(loop=loop)
/Users/karthikeyansingaravelan/stuff/python/cpython/Lib/asyncio/queues.py:48: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
self._finished = locks.Event(loop=self._loop)
.......
----------------------------------------------------------------------
Ran 7 tests in 0.083s
OK |
|
Date |
User |
Action |
Args |
2019-09-10 13:32:39 | xtreak | set | recipients:
+ xtreak, asvetlov, docs@python, yselivanov, mbussonn, eamanu, miss-islington, dtrauma |
2019-09-10 13:32:39 | xtreak | set | messageid: <1568122359.73.0.902756200831.issue36373@roundup.psfhosted.org> |
2019-09-10 13:32:39 | xtreak | link | issue36373 messages |
2019-09-10 13:32:39 | xtreak | create | |
|