def test_proxy_pop(self):
        class Thing(mapping.Document):
            numbers = mapping.ListField(mapping.DecimalField)
        thing = Thing()
        thing.numbers = [Decimal(i % '%d') for i in range(3)]
        self.assertEqual(thing.numbers.pop(), Decimal('2.0'))
        self.assertEqual(len(thing.numbers), 2)
        self.assertEqual(thing.numbers.pop(0), Decimal('0.0'))
dataset/ETHPy150Open djc/couchdb-python/couchdb/tests/mapping.py/ListFieldTestCase.test_proxy_pop/swapped operands of `%`