def connect_client(self):
        c = Client(profile='iptest', context=self.context)
        for name in [n for n in dir(c) if n.endswith('socket')]:
            s = getattr(c, name)
            s.setsockopt(zmq.LINGER, 0)
            self.sockets.append(s)
        return c
Gifsicle only optimizes animations.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/tests/clienttest.py/ClusterTestCase.connect_client--crossover with--dataset/ETHPy150Open samastur/image-diet/image_diet/diet.py/squeeze_gif