

def testThirdsUneven(self):
    d = {
        1: Decimal('10.00'),
        2: Decimal('10.00'),
        3: Decimal('3.00'),
    }
    s = Discount.apply_even_split(s, Decimal('10.00'))
    self.assertEqual(s[1], Decimal('3.51'))
    self.assertEqual(s[2], Decimal('3.50'))
    self.assertEqual(s[3], Decimal('3.00'))

dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/product/tests.py CalcFunctionTest.testThirdsUneven/VarMisuse@46/68 `d`->`s`