Repository navigation
REF/TST: glm links - #8569
REF/TST: glm links#8569
Conversation
|
discrete tests have 70 warnings, but none are future warnings for links (I expected at least some) there should be GLM based tests also in other directories. |
51991c5 to
37b8acd
Compare
|
I tried to figure out some warnings in discrete unit tests. Too time consuming. merging when green |
| alpha = np.ones(len(self.res1.params)) | ||
| res_reg = model.fit_regularized(alpha=alpha*0.01, disp=0) | ||
|
|
||
| with warnings.catch_warnings(): |
There was a problem hiding this comment.
Any reason not to use with pytest.warns(UserWarning) to simplify?
There was a problem hiding this comment.
It shouldn't raise a warning. This is just to reduce a bit of test noise.
fit_regularized failures should be investigated and cleared up, but I never took the time for it for the new count models.
a770d5b to
21c9afc
Compare
|
imported ConvergenceWarning twice, amended and force pushed |
|
all green, unrelated failures (the usual) This only added option to turn off link check, I didn't add an trivariate option to warn instead of raise |
first commit here is to silence the unit test warnings.
code and tests are adjusted to avoid deprecated link names
back to 3 warnings when running all genmod unit tests
1 negbin warning still to silence
includes option to turn of link check, closes #1880 (previous PR)