a1fb8c2d8d5a648bde1574ce3575ee42bf2b2f2c,statsmodels/miscmodels/tests/test_ordinal_model.py,TestLogitModelFormula,test_setup,#TestLogitModelFormula#,272

Before Change


        with pytest.warns(UserWarning):
            modf2 = OrderedModel.from_formula(formula, data, distr="logit")

        with pytest.warns(UserWarning):
            resf2 = modf2.fit(method="bfgs")
            assert np.isnan(resf2.bse).all()

After Change


        // warns but doesn"t raise
        formula = "apply ~ 0 + pared + public + gpa + C(dummy)"

        with pytest.warns(SpecificationWarning):
            modf2 = OrderedModel.from_formula(formula, data, distr="logit")

        with pytest.warns(HessianInversionWarning):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: statsmodels/statsmodels
Commit Name: a1fb8c2d8d5a648bde1574ce3575ee42bf2b2f2c
Time: 2020-09-19
Author: josef.pktd@gmail.com
File Name: statsmodels/miscmodels/tests/test_ordinal_model.py
Class Name: TestLogitModelFormula
Method Name: test_setup


Project Name: librosa/librosa
Commit Name: 122f897f82c5101b2dfa764c7736b6fd9a24c0c2
Time: 2019-12-27
Author: kogito@hotmail.fr
File Name: tests/test_features.py
Class Name:
Method Name: test_mfcc_to_mel