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.raises(ValueError, match="Cannot select any axis to squeeze out, as none of them has size equal to one."):
92
+
withpytest.raises(ValueError, match=r"Cannot select any axis to squeeze out, as none of them has size equal to one."):
93
93
same.squeeze([0,1])
94
-
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."):
94
+
withpytest.raises(ValueError, match=r"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