code: def test_pricesEventsMerge_bug(self):
      # Reproduce exception when merging intraday prices with future dividend
      interval = "30m"
      df_index = []
      d = 13
      for h in range(0, 16):
          for m in [0, 30]:
              df_index.append(_dt.datetime(2023, 9, d, h, m))
      df_index.append(_dt.datetime(2023, 9, d, 16))
      df = _pd.DataFrame(index=df_index)
      df.index = _pd.to_datetime(df.index)
      df["Close"] = 1.0
  
      div = 1.0
      future_div_dt = _dt.datetime(2023, 9, 14, 10)
      divs = _pd.DataFrame(
          data={"Dividends": [div]}, index=[future_div_dt]
      )
  
      yf.utils.safe_merge_dfs(df, divs, interval)
  
imports: from .context import yfinance
  from .context import session_gbl
  import unittest
  import os
  import datetime
  import pytz
  import numpy
  import pandas
label_desc: Use image node_id 10 for calling the TestPriceHistory obj's underlying member method code with example usage: obj.test_pricesEventsMerge_bug() without return types