def test_timeOutStat(self):
        d1 = self.proto.stats()
        d2 = Deferred()
        self.proto.connectionLost = d2.callback

        self.proto.dataReceived("STAT foo bar\r\n")
        self.clock.advance(self.proto.persistentTimeOut)
        self.assertFailure(d1, TimeoutError)
        return gatherResults([d1, d2])
Test the timeout when stat command has started: the timeout is not
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_memcache.py/MemCacheTestCase.test_timeOutStat