(self)
| 424 | self.loop.run_until_complete(t) |
| 425 | |
| 426 | def test_task_repr_wait_for(self): |
| 427 | self.loop.set_debug(False) |
| 428 | |
| 429 | async def wait_for(fut): |
| 430 | return await fut |
| 431 | |
| 432 | fut = self.new_future(self.loop) |
| 433 | task = self.new_task(self.loop, wait_for(fut)) |
| 434 | test_utils.run_briefly(self.loop) |
| 435 | self.assertRegex(repr(task), |
| 436 | '<Task .* wait_for=%s>' % re.escape(repr(fut))) |
| 437 | |
| 438 | fut.set_result(None) |
| 439 | self.loop.run_until_complete(task) |
| 440 | |
| 441 | def test_task_basics(self): |
| 442 |
nothing calls this directly
no test coverage detected