def runTest(self): for m in xrange(self.njobs): n = m + 1 for result, answer in zip( getattr(self, 'results_%d' % n), getattr(self, 'answers_%d' % n)): self.assertEquals(result, answer)
def runTest(self): for m in xrange(self.njobs): n = m + 1 for result, answer in zip(getattr(self, 'results_%d' % n), getattr(self, 'answers_%d' % n)): self.assertEquals(result, answer)
def runTest(self): from disco.future import izip_longest as zip for result, answer in zip(self.results, self.answers): self.assertEquals(result, answer)
def assertAllEqual(self, results, answers): from disco.future import izip_longest as zip for result, answer in zip(results, answers): self.assertEquals(result, answer)