(self)
| 308 | self.loop.run_until_complete, task) |
| 309 | |
| 310 | def test_call_later(self): |
| 311 | results = [] |
| 312 | |
| 313 | def callback(arg): |
| 314 | results.append(arg) |
| 315 | self.loop.stop() |
| 316 | |
| 317 | self.loop.call_later(0.1, callback, 'hello world') |
| 318 | self.loop.run_forever() |
| 319 | self.assertEqual(results, ['hello world']) |
| 320 | |
| 321 | def test_call_soon(self): |
| 322 | results = [] |
nothing calls this directly
no test coverage detected