Maybe my last comment was on the wrong line. I think this test should be named `test_resample_invalid_parameters`.