(self)
| 319 | self.assertEqual(results, ['hello world']) |
| 320 | |
| 321 | def test_call_soon(self): |
| 322 | results = [] |
| 323 | |
| 324 | def callback(arg1, arg2): |
| 325 | results.append((arg1, arg2)) |
| 326 | self.loop.stop() |
| 327 | |
| 328 | self.loop.call_soon(callback, 'hello', 'world') |
| 329 | self.loop.run_forever() |
| 330 | self.assertEqual(results, [('hello', 'world')]) |
| 331 | |
| 332 | def test_call_soon_threadsafe(self): |
| 333 | results = [] |
nothing calls this directly
no test coverage detected