def test_itersubtasks(self):
    it = self.ts.itersubtasks()
    for (i, t) in enumerate(it):
        self.assertEqual(t.get(), i)
def test_itersubtasks(self):
    it = self.ts.itersubtasks()
    for (i, t) in enumerate(it):
        self.assertEqual(t.get(), i)