(connector, loop, warning)
| 316 | |
| 317 | |
| 318 | def test_del(connector, loop, warning): |
| 319 | # N.B. don't use session fixture, it stores extra reference internally |
| 320 | session = ClientSession(connector=connector, loop=loop) |
| 321 | loop.set_exception_handler(lambda loop, ctx: None) |
| 322 | |
| 323 | with warning(ResourceWarning): |
| 324 | del session |
| 325 | gc.collect() |
| 326 | |
| 327 | |
| 328 | def test_context_manager(connector, loop): |
nothing calls this directly
no test coverage detected