()
| 680 | test_send() |
| 681 | |
| 682 | async def test_throw(): |
| 683 | p = ait_class() |
| 684 | obj = anext(p, "completed") |
| 685 | self.assertRaises(SyntaxError, obj.throw, SyntaxError) |
| 686 | return "completed" |
| 687 | |
| 688 | result = self.loop.run_until_complete(test_throw()) |
| 689 | self.assertEqual(result, "completed") |
nothing calls this directly
no test coverage detected