CI/TST: fix CI with numpy dev for changed error message / dev version
cc @simonjayhawkins does this also need to be backported? maybe, i've got a couple of manual backports to do, so will know for sure shortly. @meeseeksdev backport 1.1.x