code: def test_holidays_priors(self, backend):
      # Check prior specifications
      holidays = pd.DataFrame(
          {
              "ds": pd.to_datetime(["2016-12-25", "2017-12-25"]),
              "holiday": ["xmas", "xmas"],
              "lower_window": [-1, -1],
              "upper_window": [0, 0],
              "prior_scale": [5.0, 5.0],
          }
      )
      m = Prophet(holidays=holidays, stan_backend=backend)
      df = pd.DataFrame(
          {"ds": pd.date_range("2016-12-20", "2016-12-31")}
      )
      feats, priors, names = m.make_holiday_features(
          df["ds"], m.holidays
      )
      assert priors == [5.0, 5.0]
      assert names == ["xmas"]
      # 2 different priors
      holidays2 = pd.DataFrame(
          {
              "ds": pd.to_datetime(["2012-06-06", "2013-06-06"]),
              "holiday": ["seans-bday"] * 2,
              "lower_window": [0] * 2,
              "upper_window": [1] * 2,
              "prior_scale": [8] * 2,
          }
      )
      holidays2 = pd.concat((holidays, holidays2), sort=True)
      m = Prophet(holidays=holidays2, stan_backend=backend)
      feats, priors, names = m.make_holiday_features(
          df["ds"], m.holidays
      )
      pn = zip(priors, [s.split("_delim_")[0] for s in feats.columns])
      for t in pn:
          assert t in [(8.0, "seans-bday"), (5.0, "xmas")]
      holidays2 = pd.DataFrame(
          {
              "ds": pd.to_datetime(["2012-06-06", "2013-06-06"]),
              "holiday": ["seans-bday"] * 2,
              "lower_window": [0] * 2,
              "upper_window": [1] * 2,
          }
      )
      holidays2 = pd.concat((holidays, holidays2), sort=True)
      feats, priors, names = Prophet(
          holidays=holidays2,
          holidays_prior_scale=4,
          stan_backend=backend,
      ).make_holiday_features(df["ds"], holidays2)
      assert set(priors) == {4.0, 5.0}
  
imports: import numpy
  import pandas
  import pytest
  from prophet import Prophet
  from prophet.utilities import warm_start_params
label_desc: Use image node_id 3 for calling the TestProphetHolidays obj's underlying member method code with example usage: obj.test_holidays_priors(backend) without return types