()
| 58 | def test_asyncio_yield_from(self): |
| 59 | @gen.coroutine |
| 60 | def f(): |
| 61 | event_loop = asyncio.get_event_loop() |
| 62 | x = yield from event_loop.run_in_executor(None, lambda: 42) |
| 63 | return x |
| 64 | |
| 65 | result = yield f() |
| 66 | self.assertEqual(result, 42) |
nothing calls this directly
no test coverage detected