def METHOD_NAME(self):
    with self.assertRaises(ValueError):
        stats.pearsonr(
            self.cube_a,
            self.cube_b[0, :, :],
            ["latitude", "longitude"],
            weights=self.weights,
        )