Package: spectral-cube / 0.4.0-2

Metadata

Package Version Patches format
spectral-cube 0.4.0-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Use astropy_helpers provided by the system.patch | (download)

setup.cfg | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use astropy_helpers provided by the system


Use LooseVersion instead of StrictVersion.patch | (download)

spectral_cube/np_compat.py | 4 2 + 2 - 0 !
spectral_cube/spectral_cube.py | 4 2 + 2 - 0 !
spectral_cube/tests/test_masks.py | 4 2 + 2 - 0 !
spectral_cube/tests/test_moments.py | 4 2 + 2 - 0 !
spectral_cube/tests/test_spectral_cube.py | 10 5 + 5 - 0 !
5 files changed, 13 insertions(+), 13 deletions(-)

 use looseversion instead of strictversion.

StrictVersion fails on numpy RCs. LooseVersion is a compromise until something better is available.

Use assert_almost_equal instead of assert_equal in test_t.patch | (download)

spectral_cube/tests/test_spectral_cube.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use assert_almost_equal instead of assert_equal in test_twod_numpy

Closes: #860620