BUG: Post-merge fixup, raise on dimension-expanding
Looks like a couple of individually-correct things got merged that together are causing failures on master.  This should fix it.
cc @jorisvandenbossche  i'll do a quick PR for the mypy failures separately. Thanks @jbrockmendel and @simonjayhawkins !