def setUp(self):
        self.proto = MemCacheProtocol()
        self.clock = Clock()
        self.proto.callLater = self.clock.callLater
        self.transport = StringTransportWithDisconnection()
        self.transport.protocol = self.proto
        self.proto.makeConnection(self.transport)
Usage:
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_memcache.py/MemCacheTestCase.setUp--crossover with--dataset/ETHPy150Open evennia/evennia/evennia/locks/lockfuncs.py/attr_ge