File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -280,6 +280,7 @@ def test_host_header_ipv6_with_port(make_request) -> None:
280
280
reason = "No idea why ClientRequest() is constructed out of loop but "
281
281
"it calls `asyncio.get_event_loop()`" ,
282
282
raises = DeprecationWarning ,
283
+ strict = False ,
283
284
)
284
285
def test_default_loop (loop ) -> None :
285
286
asyncio .set_event_loop (loop )
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ async def test_create_waiter(self) -> None:
88
88
reason = "No idea why ClientRequest() is constructed out of loop but "
89
89
"it calls `asyncio.get_event_loop()`" ,
90
90
raises = DeprecationWarning ,
91
+ strict = False ,
91
92
)
92
93
def test_ctor_global_loop (self ) -> None :
93
94
loop = asyncio .new_event_loop ()
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ async def test_set_loop() -> None:
44
44
reason = "No idea why _set_loop() is constructed out of loop "
45
45
"but it calls `asyncio.get_event_loop()`" ,
46
46
raises = DeprecationWarning ,
47
+ strict = False ,
47
48
)
48
49
def test_set_loop_default_loop () -> None :
49
50
loop = asyncio .new_event_loop ()
You can’t perform that action at this time.
0 commit comments