def test_wait_raises(self):
    res = self.raising.apply(args=[3, 3])
    with self.assertRaises(KeyError):
        res.wait()
    self.assertTrue(res.wait(propagate=False))
def test_wait_raises(self):
    res = self.raising.apply(args=[3, 3])
    with self.assertRaises(KeyError):
        res.wait()
    self.assertTrue(res.wait(propagate=False))