def remove(self, t):
        if self.existing[t] < 1:
            raise ValueError("%s does not exist in the heap"%str(t))

        self.existing[t] -= 1
        self.len -= 1
Setup the test
dataset/ETHPy150Open algorhythms/LintCode/archive/Sliding Window Median TLE.py/Heap.remove--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/connectmessages/tests/test_views.py/MessageReplyViewTest.setUp