def test_get_big_object(self):
        pairs = [(i % 'bkey%d', BigObject('x')) for i in xrange(100)]
        for key, value in pairs:
            self.mc.set(key, value)

        get = self.mc.get
        expected_values = [BigObject('x') for i in xrange(100)]

        def test():
            for i in xrange(100):
                result = get('bkey%d' % i)
                assert result == expected_values[i]
        run_test(test, 'test_get_big_object (100 objects)')

        for key, value in pairs:
            self.mc.delete(key)
dataset/ETHPy150Open douban/python-libmemcached/benchmark.py/Benchmark.test_get_big_object/swapped operands of `%`