code: def test_init():
      """Tests instantiation."""
      hi = HolidayInferrer()
      assert hi.baseline_offsets is None
      assert hi.post_search_days is None
      assert hi.pre_search_days is None
      assert hi.independent_holiday_thres is None
      assert hi.together_holiday_thres is None
      assert hi.df is None
      assert hi.time_col is None
      assert hi.value_col is None
      assert hi.year_start is None
      assert hi.year_end is None
      assert hi.ts is None
      assert hi.country_holiday_df is None
      assert hi.holidays is None
      assert hi.score_result is None
      assert hi.score_result_avg is None
      assert hi.result is None
  
imports: import numpy
  import pandas
  import pytest
  from holidays_ext.get_holidays import get_holiday_df
  from testfixtures import LogCapture
  from greykite.algo.common.holiday_inferrer import HolidayInferrer
  from greykite.common.constants import EVENT_DF_DATE_COL
  from greykite.common.constants import EVENT_DF_LABEL_COL
  from greykite.common.constants import TIME_COL
  from greykite.common.constants import VALUE_COL
  from greykite.common.data_loader import DataLoader
  from greykite.common.logging import LOGGER_NAME
label_desc: Use image node_id 2 for calling a global function with example usage: test_init() without return types