Lines Matching full:ouch
274 class Ouch:
277 Ouch.n = Ouch.n + 1
278 if Ouch.n % 17 == 0:
299 t = [t, Ouch()]
302 u = [u, Ouch()]
305 v = {1: v, 2: Ouch()}
517 ouch = []
519 ouch[:] = [wr() for wr in WRs]
526 self.assertEqual(len(ouch), 0)
532 self.assertEqual(len(ouch), 2) # else the callbacks didn't run
533 for x in ouch:
560 ouch = []
562 ouch[:] = [c2wr()]
606 self.assertEqual(len(ouch), 0)
609 self.assertEqual(len(ouch), 1) # else the callback wasn't invoked
610 for x in ouch:
620 ouch = []
623 ouch[:] = [c2wr()]
673 self.assertEqual(len(ouch), 0)
676 self.assertEqual(len(ouch), 1) # else __del__ wasn't invoked
677 for x in ouch: