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
assertx_like.dtype==xp.bool, f"{fill_value=}, but full_like() did not produce a boolean array - instead was {x_like.dtype}"
180
+
elifisinstance(fill_value, int):
181
+
assertx_like.dtypein (xp.int32, xp.int64), f"{fill_value=}, but full_like() did not produce a int32 or int64 array - instead was {x_like.dtype}"
182
+
elifisinstance(fill_value, float):
183
+
assertx_like.dtypein (xp.float32, xp.float64), f"{fill_value=}, but full_like() did not produce a float32 or float64 array - instead was {x_like.dtype}"
184
+
else:
185
+
raiseException(f"Sanity check failed, indiciating a bug in the test suite. {fill_value=} - should be a bool, int or float")
0 commit comments