Skip to content

BUG: disallow use_self=False - #4954

Merged
bashtage merged 1 commit into
statsmodels:masterfrom
jbrockmendel:use_self2
May 8, 2019
Merged

bashtage merged 1 commit into
statsmodels:masterfrom
jbrockmendel:use_self2

Conversation

@jbrockmendel

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread statsmodels/base/model.py

def _get_robustcov_results(self, cov_type='nonrobust', use_self=True,
use_t=None, **cov_kwds):
if use_self is False:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just remove use_self and any references to it?

@jbrockmendel jbrockmendel Aug 21, 2018 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I expect the maintainer would object to the idea of dead code being removed.

@coveralls

coveralls commented Aug 22, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.008%) to 84.641% when pulling 220f7dc on jbrockmendel:use_self2 into abf97fb on statsmodels:master.

@codecov-io

codecov-io commented Aug 22, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #4954 into master will decrease coverage by 0.05%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4954      +/-   ##
==========================================
- Coverage   82.12%   82.07%   -0.06%     
==========================================
  Files         587      587              
  Lines       93491    93496       +5     
  Branches    10345     9614     -731     
==========================================
- Hits        76781    76736      -45     
- Misses      14318    14359      +41     
- Partials     2392     2401       +9
Impacted Files Coverage Δ
statsmodels/base/model.py 85.94% <0%> (-0.26%) ⬇️
statsmodels/iolib/openfile.py 66.66% <0%> (-9.1%) ⬇️
statsmodels/datasets/utils.py 78.39% <0%> (-4.94%) ⬇️
statsmodels/iolib/foreign.py 70.75% <0%> (-1.59%) ⬇️
statsmodels/base/wrapper.py 89.85% <0%> (-1.45%) ⬇️
...ar/tests/JMulTi_results/parse_jmulti_var_output.py 90.2% <0%> (-1.02%) ⬇️
statsmodels/iolib/tests/test_foreign.py 97.67% <0%> (-0.78%) ⬇️
statsmodels/tsa/tsatools.py 89.19% <0%> (-0.62%) ⬇️
statsmodels/discrete/tests/test_discrete.py 98.71% <0%> (-0.61%) ⬇️
...r/tests/JMulTi_results/parse_jmulti_vecm_output.py 88.28% <0%> (-0.58%) ⬇️
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update abf97fb...220f7dc. Read the comment docs.

@jbrockmendel jbrockmendel changed the title disallow use_self=False BUG: disallow use_self=False Aug 28, 2018
@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@josef defacto green, no merge conflicts, bug-adjacent

@jbrockmendel
jbrockmendel force-pushed the use_self2 branch 2 times, most recently from de4c2ac to 220f7dc Compare May 8, 2019 15:00
@bashtage
bashtage merged commit 7c0c730 into statsmodels:master May 8, 2019
@jbrockmendel
jbrockmendel deleted the use_self2 branch May 8, 2019 17:13
@jbrockmendel

Copy link
Copy Markdown
Contributor Author

woot! less than 10% of outstanding PRs are mine now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants