mirror of https://github.com/sipwise/rtpengine.git
related to #1497 #1549 > ====================================================================== > ERROR: setUpClass (__main__.TestWSJanus) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/code/t/auto-daemon-tests-websocket.py", line 114, in setUpClass > eventloop.run_until_complete(get_ws(cls, "janus-protocol")) > File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete > return future.result() > File "/code/t/auto-daemon-tests-websocket.py", line 23, in get_ws > cls._ws = await connect( > File "/usr/lib/python3/dist-packages/websockets/legacy/client.py", line 622, in __await_impl__ > transport, protocol = await self._create_connection() > File "/usr/lib/python3.10/asyncio/base_events.py", line 1089, in create_connection > transport, protocol = await self._create_connection_transport( > File "/usr/lib/python3.10/asyncio/base_events.py", line 1107, in _create_connection_transport > protocol = protocol_factory() > File "/usr/lib/python3/dist-packages/websockets/legacy/client.py", line 160, in __init__ > super().__init__(**kwargs) > File "/usr/lib/python3/dist-packages/websockets/legacy/protocol.py", line 154, in __init__ > self._drain_lock = asyncio.Lock( > File "/usr/lib/python3.10/asyncio/locks.py", line 78, in __init__ > super().__init__(loop=loop) > File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in __init__ > raise TypeError( > TypeError: As of 3.10, the *loop* parameter was removed from Lock() since it is no longer necessary > > ---------------------------------------------------------------------- Change-Id: I3178c54ed7eb40b9cc06769c1f1e237e0d58f966pull/1560/head
parent
7a5069b194
commit
72dad51a10
Loading…
Reference in new issue