code: def test_generate_holiday_events2():
      """Tests proper handling of pre_num = 0 and post_num = 0"""
      countries = ["UnitedStates", "UnitedKingdom", "India", "France"]
      year_start = 2019
      year_end = 2020
      holidays_to_model_separately = [
          "New Year's Day",
          "Christmas Day",
          "Independence Day",
          "Thanksgiving",
          "Labor Day",
          "Good Friday",
          "Easter Monday [England, Wales, Northern Ireland]",
          "Memorial Day",
          "Veterans Day",
      ]
  
      daily_event_df_dict1 = generate_holiday_events(
          countries=countries,
          holidays_to_model_separately=holidays_to_model_separately,
          year_start=year_start,
          year_end=year_end,
          pre_num=0,
          post_num=0,
      )
  
      holidays_dict = get_holidays(
          countries, year_start=year_start, year_end=year_end
      )
      # merges country DataFrames, removes duplicate holidays
      holiday_df = dedup_holiday_dict(holidays_dict)
      # creates separate DataFrame for each holiday
      daily_event_df_dict2 = split_events_into_dictionaries(
          holiday_df, holidays_to_model_separately
      )
  
      assert daily_event_df_dict1.keys() == daily_event_df_dict2.keys()
  
imports: import datetime
  import pandas
  import pytest
  from greykite.algo.forecast.silverkite.forecast_simple_silverkite_helper import cols_interact
  from greykite.algo.forecast.silverkite.forecast_simple_silverkite_helper import dedup_holiday_dict
  from greykite.algo.forecast.silverkite.forecast_simple_silverkite_helper import generate_holiday_events
  from greykite.algo.forecast.silverkite.forecast_simple_silverkite_helper import get_event_pred_cols
  from greykite.algo.forecast.silverkite.forecast_simple_silverkite_helper import patsy_categorical_term
  from greykite.algo.forecast.silverkite.forecast_simple_silverkite_helper import split_events_into_dictionaries
  from greykite.common.constants import EVENT_DEFAULT
  from greykite.common.constants import EVENT_DF_DATE_COL
  from greykite.common.constants import EVENT_DF_LABEL_COL
  from greykite.common.constants import EVENT_INDICATOR
  from greykite.common.features.timeseries_features import get_holidays
label_desc: Use image node_id 5 for calling a global function with example usage: test_generate_holiday_events2() without return types