code: def test_1_dump_calendars(self):
      ori_calendars = set(
          map(
              pd.Timestamp,
              pd.read_csv(
                  QLIB_DIR.joinpath("calendars", "day.txt"), header=None
              )
              .loc[:, 0]
              .values,
          )
      )
      res_calendars = set(D.calendar())
      assert (
          len(ori_calendars - res_calendars)
          == len(res_calendars - ori_calendars)
          == 0
      ), "dump calendars failed"
  
file_path: qlib/tests/test_dump_data.py
imports: import sys
  import shutil
  import unittest
  from pathlib import Path
  import qlib
  import numpy
  import pandas
  from qlib.data import D
  from get_data import GetData
  from dump_bin import DumpDataAll, DumpDataFix
label_desc: Use image node_id 4 for calling the TestDumpData obj's underlying member method code with example usage: obj.test_1_dump_calendars() without return types