def __str__(self):
        if self.label:
            return "%s (%s)" % (self.value, self.label)
        else:
            return "%s" % self.value
dataset/ETHPy150Open ReactiveX/RxPY/tests/test_core/test_priorityqueue.py/TestItem.__str__/original