Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to test_basic.py #854

Merged
merged 2 commits into from
Feb 14, 2023
Merged

Fix to test_basic.py #854

merged 2 commits into from
Feb 14, 2023

Conversation

jdebacker
Copy link
Member

@jdebacker jdebacker commented Feb 7, 2023

This PR fixes test_basic.py to specify the r_gov_shift parameter as a list. This is necessary after changes from PR #852.

Also fixes a comparison of the dimensions between the baseline solution and the reform parameters.

@codecov-commenter
Copy link

codecov-commenter commented Feb 7, 2023

Codecov Report

Merging #854 (784e02e) into master (e4c2275) will decrease coverage by 0.06%.
The diff coverage is 40.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #854      +/-   ##
==========================================
- Coverage   82.24%   82.18%   -0.06%     
==========================================
  Files          18       18              
  Lines        3987     3992       +5     
==========================================
+ Hits         3279     3281       +2     
- Misses        708      711       +3     
Flag Coverage Δ
unittests 82.18% <40.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ogcore/SS.py 87.50% <40.00%> (-0.56%) ⬇️

@jdebacker
Copy link
Member Author

@rickecon This PR is ready for your review.

@rickecon
Copy link
Member

@jdebacker. I just reviewed and approved the changes. I am now rerunning the CI tests that failed. I wonder if the failures are coming from our tests taking more than the allotted compute time. We might have to choose whether we test on Python 3.9 or 3.10.

@rickecon
Copy link
Member

@jdebacker. All tests have passed now. Looks great. Merging.

@rickecon rickecon merged commit eaac5eb into PSLmodels:master Feb 14, 2023
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.

3 participants