Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 def runTest(self):
     from disco.future import izip_longest as zip
     for result, answer in zip(self.results, self.answers):
         self.assertEquals(result, answer)
Example #4
0
 def runTest(self):
     from disco.future import izip_longest as zip
     for result, answer in zip(self.results, self.answers):
         self.assertEquals(result, answer)
Example #5
0
 def assertAllEqual(self, results, answers):
     from disco.future import izip_longest as zip
     for result, answer in zip(results, answers):
         self.assertEquals(result, answer)