code: def test_dailyWithEvents(self):
      start_d = _dt.date(2022, 1, 1)
      end_d = _dt.date(2023, 1, 1)
  
      tkr_div_dates = {
          "BHP.AX": [
              _dt.date(2022, 9, 1),
              _dt.date(2022, 2, 24),
          ],  # Yahoo claims 23-Feb but wrong because DST
          "IMP.JO": [_dt.date(2022, 9, 21), _dt.date(2022, 3, 16)],
          "BP.L": [
              _dt.date(2022, 11, 10),
              _dt.date(2022, 8, 11),
              _dt.date(2022, 5, 12),
              _dt.date(2022, 2, 17),
          ],
          "INTC": [
              _dt.date(2022, 11, 4),
              _dt.date(2022, 8, 4),
              _dt.date(2022, 5, 5),
              _dt.date(2022, 2, 4),
          ],
      }
  
      for tkr, dates in tkr_div_dates.items():
          df = yf.Ticker(tkr, session=self.session).history(
              interval="1d", start=start_d, end=end_d
          )
          df_divs = df[df["Dividends"] != 0].sort_index(ascending=False)
          try:
              self.assertTrue((df_divs.index.date == dates).all())
          except AssertionError:
              print(f"- ticker = {tkr}")
              print("- response:")
              print(df_divs.index.date)
              print("- answer:")
              print(dates)
              raise
  
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 13 for calling the TestPriceHistory obj's underlying member method code with example usage: obj.test_dailyWithEvents() without return types