
import heapq

def _dummy_func(x, y):
    # should at least print out something
    print(x, y)
    return x < y

heapq.cmp_lt = _dummy_func

heap = [3, 2, 1]

heapq.heapify(heap)
