Lines Matching full:ouch
321 class Ouch:
324 Ouch.n = Ouch.n + 1
325 if Ouch.n % 17 == 0:
346 t = [t, Ouch()]
349 u = [u, Ouch()]
352 v = {1: v, 2: Ouch()}
580 ouch = []
582 ouch[:] = [wr() for wr in WRs]
589 self.assertEqual(len(ouch), 0)
595 self.assertEqual(len(ouch), 2) # else the callbacks didn't run
596 for x in ouch:
887 ouch = []
889 ouch[:] = [c2wr()]
933 self.assertEqual(len(ouch), 0)
936 self.assertEqual(len(ouch), 1) # else the callback wasn't invoked
937 for x in ouch:
947 ouch = []
950 ouch[:] = [c2wr()]
1000 self.assertEqual(len(ouch), 0)
1003 self.assertEqual(len(ouch), 1) # else __del__ wasn't invoked
1004 for x in ouch: