You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
withpytest.warns(NDCubeUserWarning, match="UnknownUncertainty does not support uncertainty "
1153
-
"propagation with correlation. Setting uncertainties to None."):
1149
+
withpytest.warns(NDCubeUserWarning, match="UnknownUncertainty does not support uncertainty propagation with correlation. Setting uncertainties to None."):
withpytest.warns(NDCubeUserWarning, match="UnknownUncertainty does not support uncertainty propagation "
1193
-
"with correlation. Setting uncertainties to None."):
1188
+
withpytest.warns(NDCubeUserWarning, match="UnknownUncertainty does not support uncertainty propagation with correlation. Setting uncertainties to None."):
r"does not support propagation of uncertainties for power. "
1204
-
r"Setting uncertainties to None."):
1197
+
withpytest.warns(NDCubeUserWarning, match=r"<class 'astropy.nddata.nduncertainty.StdDevUncertainty'> does not support propagation of uncertainties for power. Setting uncertainties to None."):
withpytest.raises(ValueError, match="Cannot select any axis to squeeze out, "
1239
-
"as none of them has size equal to one."):
1231
+
withpytest.raises(ValueError, match="Cannot select any axis to squeeze out, as none of them has size equal to one."):
1240
1232
same.squeeze([0,1])
1241
-
withpytest.raises(ValueError, match="All axes are of length 1, therefore we will not squeeze NDCube to become "
1242
-
"a scalar. Use `axis=` keyword to specify a subset of axes to squeeze."):
1233
+
withpytest.raises(ValueError, match="All axes are of length 1, therefore we will not squeeze NDCube to become a scalar. Use `axis=` keyword to specify a subset of axes to squeeze."):
0 commit comments