code: def test_repair_zeroes_hourly(self):
      tkr = "INTC"
      dat = yf.Ticker(tkr, session=self.session)
      tz_exchange = dat.fast_info["timezone"]
  
      correct_df = dat.history(
          period="1wk", interval="1h", auto_adjust=False, repair=True
      )
  
      df_bad = correct_df.copy()
      bad_idx = correct_df.index[10]
      df_bad.loc[bad_idx, "Open"] = _np.nan
      df_bad.loc[bad_idx, "High"] = _np.nan
      df_bad.loc[bad_idx, "Low"] = _np.nan
      df_bad.loc[bad_idx, "Close"] = _np.nan
      df_bad.loc[bad_idx, "Adj Close"] = _np.nan
      df_bad.loc[bad_idx, "Volume"] = 0
  
      repaired_df = dat._fix_zeroes(
          df_bad, "1h", tz_exchange, prepost=False
      )
  
      for c in ["Open", "Low", "High", "Close"]:
          try:
              self.assertTrue(
                  _np.isclose(
                      repaired_df[c], correct_df[c], rtol=1e-7
                  ).all()
              )
          except AssertionError:
              print("COLUMN", c)
              print("- repaired_df")
              print(repaired_df)
              print("- correct_df[c]:")
              print(correct_df[c])
              print("- diff:")
              print(repaired_df[c] - correct_df[c])
              raise
  
      self.assertTrue("Repaired?" in repaired_df.columns)
      self.assertFalse(repaired_df["Repaired?"].isna().any())
  
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 TestPriceRepair obj's underlying member method code with example usage: obj.test_repair_zeroes_hourly() without return types