TST/COMPAT: skip scipy tests if needed (GH7764)