MCPcopy
hub / github.com/scrapy/scrapy / test_is_asyncio_available

Method test_is_asyncio_available

tests/test_utils_asyncio.py:25–27  ·  view source on GitHub ↗
(self, reactor_pytest: str)

Source from the content-addressed store, hash-verified

23class TestAsyncio:
24 @coroutine_test
25 async def test_is_asyncio_available(self, reactor_pytest: str) -> None:
26 # the result should depend only on the pytest --reactor argument
27 assert is_asyncio_available() == (reactor_pytest != "default")
28
29
30@pytest.mark.only_asyncio

Callers

nothing calls this directly

Calls 1

is_asyncio_availableFunction · 0.90

Tested by

no test coverage detected