code: def test_duplicatingHourly(self):
      tkrs = ["IMP.JO", "BHG.JO", "SSW.JO", "BP.L", "INTC"]
      for tkr in tkrs:
          dat = yf.Ticker(tkr, session=self.session)
          tz = dat._get_ticker_tz(proxy=None, timeout=None)
  
          dt_utc = _tz.timezone("UTC").localize(_dt.datetime.utcnow())
          dt = dt_utc.astimezone(_tz.timezone(tz))
          start_d = dt.date() - _dt.timedelta(days=7)
          df = dat.history(start=start_d, interval="1h")
  
          dt0 = df.index[-2]
          dt1 = df.index[-1]
          try:
              self.assertNotEqual(dt0.hour, dt1.hour)
          except AssertionError:
              print("Ticker = ", tkr)
              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 6 for calling the TestPriceHistory obj's underlying member method code with example usage: obj.test_duplicatingHourly() without return types