def testFailHeartbeat(self):
        def no_ping(msg):
            pass
        self.test_socket.inmsg["BPPing"] = no_ping
        self.failIf(self.trigger.wait(timeout=.5), "Did not close before timeout!")
L{util.setIDFunction} returns the last value passed to it.
dataset/ETHPy150Open metafetish/buttplug/tests/test.py/HeartbeatTests.testFailHeartbeat--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/UnsignedIDTests.test_setIDFunction