Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/test_client_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ def test_host_header_ipv6_with_port(make_request) -> None:
reason="No idea why ClientRequest() is constructed out of loop but "
"it calls `asyncio.get_event_loop()`",
raises=DeprecationWarning,
strict=False,
)
def test_default_loop(loop) -> None:
asyncio.set_event_loop(loop)
Expand Down
1 change: 1 addition & 0 deletions tests/test_streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ async def test_create_waiter(self) -> None:
reason="No idea why ClientRequest() is constructed out of loop but "
"it calls `asyncio.get_event_loop()`",
raises=DeprecationWarning,
strict=False,
)
def test_ctor_global_loop(self) -> None:
loop = asyncio.new_event_loop()
Expand Down
1 change: 1 addition & 0 deletions tests/test_web_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ async def test_set_loop() -> None:
reason="No idea why _set_loop() is constructed out of loop "
"but it calls `asyncio.get_event_loop()`",
raises=DeprecationWarning,
strict=False,
)
def test_set_loop_default_loop() -> None:
loop = asyncio.new_event_loop()
Expand Down