Home | History | Annotate | Download | only in test

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()}
521 ouch = []
523 ouch[:] = [wr() for wr in WRs]
530 self.assertEqual(len(ouch), 0)
536 self.assertEqual(len(ouch), 2) # else the callbacks didn't run
537 for x in ouch:
564 ouch = []
566 ouch[:] = [c2wr()]
610 self.assertEqual(len(ouch), 0)
613 self.assertEqual(len(ouch), 1) # else the callback wasn't invoked
614 for x in ouch:
624 ouch = []
627 ouch[:] = [c2wr()]
677 self.assertEqual(len(ouch), 0)
680 self.assertEqual(len(ouch), 1) # else __del__ wasn't invoked
681 for x in ouch: