code: def test_duplicate_component_names(self, backend):
      holidays = pd.DataFrame(
          {
              "ds": pd.to_datetime(["2017-01-02"]),
              "holiday": ["special_day"],
              "prior_scale": [4.0],
          }
      )
      m = Prophet(holidays=holidays, stan_backend=backend)
  
      with pytest.raises(ValueError):
          m.add_seasonality(
              name="special_day", period=30, fourier_order=5
          )
      with pytest.raises(ValueError):
          m.add_seasonality(name="trend", period=30, fourier_order=5)
      m.add_seasonality(name="weekly", period=30, fourier_order=5)
  
imports: import numpy
  import pandas
  import pytest
  from prophet import Prophet
  from prophet.utilities import warm_start_params
label_desc: Use image node_id 2 for calling the TestProphetCustomSeasonalComponent obj's underlying member method code with example usage: obj.test_duplicate_component_names(backend) without return types