def test_zipped1(): outcomes = ['00', '01', '10', '11'] pmf = [1/4]*4 d = Distribution(outcomes, pmf) zipped = d.zipped(mode='pants') with pytest.raises(ditException): list(zipped)
def test_zipped1(): outcomes = ['00', '01', '10', '11'] pmf = [1/4]*4 d = Distribution(outcomes, pmf) zipped = d.zipped(mode='pants') assert_raises(ditException, list, zipped)
def test_zipped1(): outcomes = ['00', '01', '10', '11'] pmf = [1 / 4] * 4 d = Distribution(outcomes, pmf) zipped = d.zipped(mode='pants') assert_raises(ditException, list, zipped)