Skip to content

Commit

Permalink
remove test of removed code in min_deps tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bhazelton authored and jpober committed Feb 2, 2023
1 parent 5a957f7 commit 256edcc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pyradiosky/tests/test_skymodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1861,13 +1861,6 @@ def test_healpix_import_err(zenith_skymodel):
astropy_healpix.nside_to_npix(2**3)
except ImportError:
errstr = "The astropy-healpix module must be installed to use HEALPix methods"
Npix = 12
hpmap = np.arange(Npix)
inds = hpmap
freqs = np.zeros(1)

with pytest.raises(ImportError, match=errstr):
skymodel.healpix_to_sky(hpmap, inds, freqs)

with pytest.raises(ImportError, match=errstr):
sm = SkyModel(
Expand All @@ -1882,9 +1875,6 @@ def test_healpix_import_err(zenith_skymodel):
with pytest.raises(ImportError, match=errstr):
SkyModel.from_healpix_hdf5(os.path.join(SKY_DATA_PATH, "healpix_disk.hdf5"))

with pytest.raises(ImportError, match=errstr):
skymodel.write_healpix_hdf5("filename.hdf5", hpmap, inds, freqs)

zenith_skymodel.nside = 32
zenith_skymodel.hpx_inds = 0
zenith_skymodel.hpx_order = "ring"
Expand Down

0 comments on commit 256edcc

Please sign in to comment.