def test_cancelTimeout(self):
        self.proto.timeOut = 5
        self.proto.makeConnection(StringTransport())

        self.proto.setTimeout(None)
        self.assertEqual(self.proto.timeOut, None)

        self.clock.pump([0, 5, 5, 5])
        self.failIf(self.proto.timedOut)
Check assertEqual(A in/not in B, True/False) with collection contents
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_policies.py/TestTimeout.test_cancelTimeout--crossover with--dataset/ETHPy150Open openstack/rally/tests/hacking/checks.py/assert_equal_in