code: def test_repair_missing_div_adjust(self):
      tkr = "8TRA.DE"
  
      dat = yf.Ticker(tkr, session=self.session)
      tz_exchange = dat.fast_info["timezone"]
  
      _dp = os.path.dirname(__file__)
      df_bad = _pd.read_csv(
          os.path.join(
              _dp,
              "data",
              tkr.replace(".", "-") + "-1d-missing-div-adjust.csv",
          ),
          index_col="Date",
      )
      df_bad.index = _pd.to_datetime(df_bad.index)
  
      repaired_df = dat._fix_missing_div_adjust(
          df_bad, "1d", tz_exchange
      )
  
      correct_df = _pd.read_csv(
          os.path.join(
              _dp,
              "data",
              tkr.replace(".", "-")
              + "-1d-missing-div-adjust-fixed.csv",
          ),
          index_col="Date",
      )
      correct_df.index = _pd.to_datetime(correct_df.index)
  
      repaired_df = repaired_df.sort_index()
      correct_df = correct_df.sort_index()
      for c in ["Open", "Low", "High", "Close", "Adj Close", "Volume"]:
          try:
              self.assertTrue(
                  _np.isclose(
                      repaired_df[c], correct_df[c], rtol=5e-6
                  ).all()
              )
          except:
              print(f"tkr={tkr} 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
  
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 12 for calling the TestPriceRepair obj's underlying member method code with example usage: obj.test_repair_missing_div_adjust() without return types