code: def test_read_chords_from_file(self):
      chords = load_chords(
          pj(DETECTIONS_PATH, "sample.dc_chord_recognition.txt")
      )
      self.assertIsInstance(chords, np.ndarray)
      self.assertEqual(chords[0][0], 0.0)
      self.assertEqual(chords[0][1], 2.9)
      self.assertEqual(chords[0][2], "G#:maj")
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join, join
  from madmom.io import *
  from madmom.io import load_beats, load_key, load_notes, load_onsets, load_tempo
  from tests import ANNOTATIONS_PATH, DETECTIONS_PATH
  from .None import DATA_PATH
label_desc: Use image node_id 1 for calling the TestLoadChordsFunction obj's underlying member method code with example usage: obj.test_read_chords_from_file() without return types