Use builtin TimeoutError [a-d] (#109678)
This commit is contained in:
parent
41a256a3ff
commit
c82933175d
63 changed files with 97 additions and 137 deletions
|
@ -1,5 +1,4 @@
|
|||
"""Tests for the Cast integration helpers."""
|
||||
import asyncio
|
||||
|
||||
from aiohttp import client_exceptions
|
||||
import pytest
|
||||
|
@ -141,7 +140,7 @@ async def test_parse_bad_playlist(
|
|||
@pytest.mark.parametrize(
|
||||
("url", "exc"),
|
||||
(
|
||||
("http://sverigesradio.se/164-hi-aac.pls", asyncio.TimeoutError),
|
||||
("http://sverigesradio.se/164-hi-aac.pls", TimeoutError),
|
||||
("http://sverigesradio.se/164-hi-aac.pls", client_exceptions.ClientError),
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue