(self)
| 648 | coro.close() |
| 649 | |
| 650 | def test_func_8(self): |
| 651 | @types.coroutine |
| 652 | def bar(): |
| 653 | return (yield from coro) |
| 654 | |
| 655 | async def foo(): |
| 656 | return 'spam' |
| 657 | |
| 658 | coro = foo() |
| 659 | self.assertEqual(run_async(bar()), ([], 'spam')) |
| 660 | coro.close() |
| 661 | |
| 662 | def test_func_9(self): |
| 663 | async def foo(): |
nothing calls this directly
no test coverage detected