def cancel(self, event):
        self._queue.remove(event)
        heapq.heapify(self._queue)
Test random sampling in Binomial node
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/sched.py/scheduler.cancel--crossover with--dataset/ETHPy150Open bayespy/bayespy/bayespy/inference/vmp/nodes/tests/test_binomial.py/TestBinomial.test_random