diff --git a/xarray/core/alignment.py b/xarray/core/alignment.py index 8c95acadb2e..f2f599f8f59 100644 --- a/xarray/core/alignment.py +++ b/xarray/core/alignment.py @@ -846,12 +846,6 @@ def is_alignable(obj): else: out[position][key] = aligned_obj # type: ignore[index] # maybe someone can fix this? - # something went wrong: we should have replaced all sentinel values - for arg in out: - assert arg is not not_replaced - if is_dict_like(arg): - assert all(value is not not_replaced for value in arg.values()) - return out