This isn't right, the `dtype` in `np.sum` is not the type of the array generated from `[[1]]` and the resulting test fails. Not sure that that isn't a buglet with `np.sum`. In any case, this works:
```
np.sum(array([[1]]).astype(object), dtype=object)
```

@seberg However, this doesn't currently generate an error for me.