-
Notifications
You must be signed in to change notification settings - Fork 15
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
Address warnings in tox tests #124
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #124 +/- ##
=======================================
Coverage 61.52% 61.52%
=======================================
Files 30 30
Lines 1931 1931
=======================================
Hits 1188 1188
Misses 743 743
|
Most of the warnings have been addressed. The pkg_resources.declare_namespace DeprecationWarning remains, but I doubt we can address it ourselves. @itrharrison , there are 3 warnings raised by the cross-correlation test:
|
@itrharrison , tests on oldest supported versions fail because of the replacement of interp2d with RegularGridInterpolator. The latter did not support the "cubic" interpolation method in the oldest versions of scipy, while it does with the current. |
* renamed TestLike to CheckLike in test_ccl.py * replaced distutils.version.Looseversion with packaging.version.Version * replaced deprecated interp2d with RegularGridInterpolator in clusters * flake8 compliant * removed python3.7 from env list in tox.ini * removed py3.7 from conda reqs * upgraded latest version to py3.8 * correct data types in shearkappa test file * edits to setup.cfg for pyversion bump and fgspectra from pip * mflike actually still required before #104 merged --------- Co-authored-by: Martina Gerbino <bradamante@martina.local> Co-authored-by: Ian Harrison <itrharrison@gmail.com>
Renamed TestLike class in test_ccl.py to address warning:
[cannot collect test class 'TestLike' because it has a __init__ constructor (from: Login.py)](https://stackoverflow.com/questions/62460557/cannot-collect-test-class-testmain-because-it-has-a-init-constructor-from)