def METHOD_NAME(self, pr_series):
    with pytest.raises(KeyError):
        # no "dayofyear" coords on per
        fraction_over_precip_thresh(
            pr_series([1, 2]), pr_series([1, 2]), bootstrap=True
        )