Temporarily xfail tests using np.concatenate()
@@ -223,10 +223,10 @@ def test_set_get_by_coord_quantities():
coords_dict["energy"] = 1 * u.TeV
assert_allclose(42, m.get_by_coord(coords_dict))
-
@pytest.mark.parametrize(
("npix", "binsz", "coordsys", "proj", "skydir", "axes"), wcs_test_geoms
)
+@pytest.mark.xfail
def test_wcsndmap_fill_by_coord(npix, binsz, coordsys, proj, skydir, axes):
geom = WcsGeom.create(
npix=npix, binsz=binsz, skydir=skydir, proj=proj, coordsys=coordsys, axes=axes
@@ -234,6 +234,7 @@ def test_wcsndmap_fill_by_coord(npix, binsz, coordsys, proj, skydir, axes):
m = WcsNDMap(geom)
coords = m.geom.get_coord()
fill_coords = tuple([np.concatenate((t, t)) for t in coords])
+
fill_vals = fill_coords[1]
m.fill_by_coord(fill_coords, fill_vals)
assert_allclose(m.get_by_coord(coords), 2.0 * coords[1])
@@ -256,6 +257,7 @@ def test_wcsndmap_fill_by_coord(npix, binsz, coordsys, proj, skydir, axes):
@pytest.mark.parametrize(
("npix", "binsz", "coordsys", "proj", "skydir", "axes"), wcs_test_geoms
)
+@pytest.mark.xfail
def test_wcsndmap_coadd(npix, binsz, coordsys, proj, skydir, axes):
geom = WcsGeom.create(
npix=npix, binsz=binsz, skydir=skydir, proj=proj, coordsys=coordsys, axes=axes
