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

Cleanup more warnings from the test suite #6074

Merged
merged 3 commits into from
Aug 29, 2022

Conversation

Armavica
Copy link
Member

What is this PR about?

This PR removes 459 warnings from the test suite, leaving only 19 remaining.

The remaining ones are warnings that I don't really understand yet, so I might leave them to somebody else, or come back to them in a while, when I am more familiar with the code base. They are generated by the following tests:

  • pymc/tests/test_distributions_moments.py::test_polyagamma_moment[1.0-0.0-None-0.25]
  • pymc/tests/test_gp.py::TestCovKron::test_multiops
  • pymc/tests/test_gp.py::TestCovKron::test_multiops
  • pymc/tests/test_gp.py::TestCoregion::test_fullB
  • pymc/tests/test_idata_conversion.py::TestDataPyMC::test_to_idata
  • pymc/tests/test_idata_conversion.py::TestDataPyMC::test_no_trace
  • pymc/tests/test_mixture.py::TestMixtureMoments::test_list_univariate_components[weights2-comp_dists2-size2-expected2]
  • pymc/tests/test_mixture.py::TestMixtureMoments::test_list_multivariate_components[weights1-comp_dists1-size1-expected1]
  • pymc/tests/test_mixture.py::TestMixtureMoments::test_list_multivariate_components[weights2-comp_dists2-None-expected2]
  • pymc/tests/test_mixture.py::TestMixtureDefaultTransforms::test_expected[comp_dists4-NoneType]
  • pymc/tests/test_mixture.py::TestMixtureDefaultTransforms::test_expected[comp_dists8-NoneType]
  • pymc/tests/test_transforms.py::TestElementWiseLogp::test_triangular[lower2-c2-upper2-size2]
  • pymc/tests/test_transforms.py::TestElementWiseLogp::test_triangular[lower2-c2-upper2-size2]
  • pymc/tests/test_transforms.py::TestElementWiseLogp::test_uniform_other[0.5-5.5-size1-transform1]
  • pymc/tests/test_transforms.py::TestElementWiseLogp::test_uniform_other[lower2-upper2-size2-transform2]
  • pymc/tests/test_variational_inference.py::test_fit_oo[ADVI-mini]
  • pymc/tests/test_variational_inference.py::test_fit_oo[FullRankADVI-mini]
  • pymc/tests/test_variational_inference.py::test_fit_oo[SVGD-mini]
  • pymc/tests/test_variational_inference.py::test_fit_oo[ASVGD-mini]

Checklist

Major / Breaking Changes

  • ...

Bugfixes / New features

  • ...

Docs / Maintenance

  • Cleanup more warnings from the test suite

@codecov
Copy link

codecov bot commented Aug 27, 2022

Codecov Report

Merging #6074 (438d230) into main (a90c420) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #6074   +/-   ##
=======================================
  Coverage   89.52%   89.52%           
=======================================
  Files          72       72           
  Lines       12950    12954    +4     
=======================================
+ Hits        11593    11597    +4     
  Misses       1357     1357           
Impacted Files Coverage Δ
pymc/distributions/continuous.py 97.51% <100.00%> (+0.01%) ⬆️
pymc/distributions/logprob.py 97.72% <100.00%> (ø)

@michaelosthege
Copy link
Member

LGTM, thanks @Armavica !

@ricardoV94 ricardoV94 merged commit c8ce9c9 into pymc-devs:main Aug 29, 2022
@twiecki
Copy link
Member

twiecki commented Aug 29, 2022

This is incredible!

@Armavica Armavica deleted the tests-warnings branch October 7, 2024 14:59
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