

@classmethod
def setupClass(cls):
    data = sm.datasets.spector.load()
    data.exog = sm.add_constant(data.exog, prepend=False)
    cls.res1 = Probit(data.endog, data.exog).fit(method='newton', disp=0)
    res2 = Spector()
    res2.probit()
    cls.res2 = data

dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/tests/test_discrete.py TestProbitNewton.setupClass/VarMisuse@84/99 `res2`->`data`