()
| 289 | |
| 290 | @pytest.fixture |
| 291 | def uvloop_loop() -> Iterator[asyncio.AbstractEventLoop]: |
| 292 | if uvloop is None: |
| 293 | pytest.skip("uvloop is not installed") |
| 294 | factory = uvloop.new_event_loop |
| 295 | with loop_context(factory) as _loop: |
| 296 | asyncio.set_event_loop(_loop) |
| 297 | yield _loop |
| 298 | |
| 299 | |
| 300 | @pytest.fixture |
nothing calls this directly
no test coverage detected