Skip to content

CLN: Replace #5779 - #5781

Merged
ChadFulton merged 4 commits into
statsmodels:masterfrom
jbrockmendel:stests
May 25, 2019
Merged

ChadFulton merged 4 commits into
statsmodels:masterfrom
jbrockmendel:stests

Conversation

@jbrockmendel

Copy link
Copy Markdown
Contributor

@ChadFulton the bare minimum to get linter to pass on statespace/tests. There were a few places where changing assert_raises to pytest.raises was the best way to fix a linting complaint, but I didn't make that change in any other places, so the usage is still plenty mixed.

@codecov

codecov Bot commented May 24, 2019

Copy link
Copy Markdown

Codecov Report

Merging #5781 into master will increase coverage by <.01%.
The diff coverage is 99.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5781      +/-   ##
==========================================
+ Coverage    82.4%   82.41%   +<.01%     
==========================================
  Files         594      594              
  Lines       93748    93794      +46     
  Branches    10357    10352       -5     
==========================================
+ Hits        77250    77296      +46     
+ Misses      14100    14099       -1     
- Partials     2398     2399       +1
Impacted Files Coverage Δ
statsmodels/tsa/statespace/tests/test_kalman.py 95.36% <ø> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_save.py 97.82% <0%> (ø) ⬆️
...models/tsa/statespace/tests/test_representation.py 99.32% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_pickle.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_options.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_sarimax.py 100% <100%> (ø) ⬆️
...a/statespace/tests/test_exact_diffuse_filtering.py 98.16% <100%> (+0.01%) ⬆️
...models/tsa/statespace/tests/test_dynamic_factor.py 97.7% <100%> (+0.05%) ⬆️
...tsmodels/tsa/statespace/tests/test_concentrated.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_collapsed.py 96.55% <100%> (+0.01%) ⬆️
... and 2 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 a33424e...388d1d4. Read the comment docs.

1 similar comment
@codecov

codecov Bot commented May 24, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #5781 into master will increase coverage by <.01%.
The diff coverage is 99.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5781      +/-   ##
==========================================
+ Coverage    82.4%   82.41%   +<.01%     
==========================================
  Files         594      594              
  Lines       93748    93794      +46     
  Branches    10357    10352       -5     
==========================================
+ Hits        77250    77296      +46     
+ Misses      14100    14099       -1     
- Partials     2398     2399       +1
Impacted Files Coverage Δ
statsmodels/tsa/statespace/tests/test_kalman.py 95.36% <ø> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_save.py 97.82% <0%> (ø) ⬆️
...models/tsa/statespace/tests/test_representation.py 99.32% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_pickle.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_options.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_sarimax.py 100% <100%> (ø) ⬆️
...a/statespace/tests/test_exact_diffuse_filtering.py 98.16% <100%> (+0.01%) ⬆️
...models/tsa/statespace/tests/test_dynamic_factor.py 97.7% <100%> (+0.05%) ⬆️
...tsmodels/tsa/statespace/tests/test_concentrated.py 100% <100%> (ø) ⬆️
statsmodels/tsa/statespace/tests/test_collapsed.py 96.55% <100%> (+0.01%) ⬆️
... and 2 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 a33424e...388d1d4. Read the comment docs.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.01%) to 84.942% when pulling 388d1d4 on jbrockmendel:stests into a33424e on statsmodels:master.

@bashtage

Copy link
Copy Markdown
Member

Random fail. Just merged patch to protect against this

mod.score(uparams, transformed=False, approx_complex_step=False,
approx_centered=True))
assert_allclose(approx_fd, analytic_score, atol=1e-5)
assert_allclose(approx_fd_centered, analytic_score, atol=1e-5)

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.

Good catch, thanks!

@ChadFulton
ChadFulton merged commit 17ac842 into statsmodels:master May 25, 2019
@ChadFulton

Copy link
Copy Markdown
Member

Thanks!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants