MCPcopy
hub / github.com/scrapy/scrapy / test_deferred

Method test_deferred

tests/test_utils_defer.py:396–400  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

394class TestMaybeDeferredToFutureNotAsyncio:
395 @coroutine_test
396 async def test_deferred(self):
397 d = Deferred()
398 result = maybe_deferred_to_future(d)
399 assert isinstance(result, Deferred)
400 assert result is d

Callers

nothing calls this directly

Calls 1

maybe_deferred_to_futureFunction · 0.90

Tested by

no test coverage detected