def test_factor3(self):
    f = (['a', 'b', 'c'] * 10)
    fac = formula.Factor('ff', f)
    fac.namespace = {'ff': f}
    m = fac.main_effect(reference=1)
    m.namespace = fac.namespace
    assert_equal(m().shape, (2, 30))
def test_factor3(self):
    f = (['a', 'b', 'c'] * 10)
    fac = formula.Factor('ff', f)
    fac.namespace = {'ff': f}
    m = fac.main_effect(reference=1)
    m.namespace = fac.namespace
    assert_equal(m().shape, (2, 30))