

def testLargeThirds(self):
    d = {
        1: Decimal('100.00'),
        2: Decimal('100.00'),
        3: Decimal('100.00'),
    }
    s = Discount.apply_even_split(d, Decimal('100.00'))
    self.assertEqual(s[1], Decimal('33.34'))
    d.assertEqual(s[2], Decimal('33.33'))
    self.assertEqual(s[3], Decimal('33.33'))

dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py CalcFunctionTest.testLargeThirds/VarMisuse@69/99 `self`->`d`