Lines Matching refs:heappush
58 self.module.heappush(heap, item)
71 self.assertRaises(TypeError, self.module.heappush, [])
73 self.assertRaises(TypeError, self.module.heappush, None, None)
97 self.module.heappush(heap, item)
175 self.module.heappush(heap, item)
383 for f in (self.module.heappush, self.module.heapreplace,
390 for f in (self.module.heappush, self.module.heapreplace):
399 for f in (self.module.heappush, self.module.heapreplace):
406 self.module.heappush, self.module.heapreplace,
427 self.module.heappush(heap, SideEffectLT(5, heap))
445 self.module.heappush(heap, EvilClass(0))
462 self.module.heappush(list1, h(0))
463 self.module.heappush(list2, g(0))
465 self.assertRaises((IndexError, RuntimeError), self.module.heappush, list1, g(1))
466 self.assertRaises((IndexError, RuntimeError), self.module.heappush, list2, h(1))