Lines Matching refs:results1
356 results1 = []
359 results1.append(evt.wait())
364 self.assertEqual(len(results1), 0)
367 self.assertEqual(results1, [True] * N)
380 results1 = []
384 results1.append(evt.wait(0.0))
390 self.assertEqual(results1, [False] * N)
395 results1 = []
399 self.assertEqual(results1, [True] * N)
476 results1 = []
484 results1.append((result, phase_num))
497 self.assertEqual(results1, [])
504 while len(results1) < 3:
506 self.assertEqual(results1, [(True, 1)] * 3)
517 while len(results1) + len(results2) < 8:
519 self.assertEqual(results1, [(True, 1)] * 3 + [(True, 2)] * 2)
532 self.assertEqual(results1, [(True, 1)] * 3 + [(True,2)] * 2)
634 results1 = []
639 results1.append(phase_num)
644 while len(results1) + len(results2) < 6:
646 self.assertEqual(results1 + results2, [0] * 6)
650 while len(results1) + len(results2) < 13:
652 self.assertEqual(sorted(results1 + results2), [0] * 6 + [1] * 7)
656 while len(results1) + len(results2) < 19:
658 self.assertEqual(sorted(results1 + results2), [0] * 6 + [1] * 7 + [2] * 6)
834 results1 = []
842 results1.append(True)
850 self.assertEqual(len(results1), 0)
858 results1 = []
871 results1.append(True)
879 self.assertEqual(len(results1), 0)
888 results1 = []
898 results1.append(True)
914 self.assertEqual(len(results1), 0)