Skip to content

Commit b1fbb49

Browse files
authored
[3.8] Make the 3.10 related xfails non-strict (#7178)
1 parent 81ba8aa commit b1fbb49

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

tests/test_client_request.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ def test_host_header_ipv6_with_port(make_request) -> None:
280280
reason="No idea why ClientRequest() is constructed out of loop but "
281281
"it calls `asyncio.get_event_loop()`",
282282
raises=DeprecationWarning,
283+
strict=False,
283284
)
284285
def test_default_loop(loop) -> None:
285286
asyncio.set_event_loop(loop)

tests/test_streams.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ async def test_create_waiter(self) -> None:
8888
reason="No idea why ClientRequest() is constructed out of loop but "
8989
"it calls `asyncio.get_event_loop()`",
9090
raises=DeprecationWarning,
91+
strict=False,
9192
)
9293
def test_ctor_global_loop(self) -> None:
9394
loop = asyncio.new_event_loop()

tests/test_web_app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ async def test_set_loop() -> None:
4444
reason="No idea why _set_loop() is constructed out of loop "
4545
"but it calls `asyncio.get_event_loop()`",
4646
raises=DeprecationWarning,
47+
strict=False,
4748
)
4849
def test_set_loop_default_loop() -> None:
4950
loop = asyncio.new_event_loop()

0 commit comments

Comments
 (0)