code: def test_load_midi_sustained(self):
      notes = load_midi(
          pj(ANNOTATIONS_PATH, "stereo_sample_sustained.mid")
      )
      self.assertTrue(np.allclose(notes[0, 2], 3.32291667))
      notes = load_midi(
          pj(ANNOTATIONS_PATH, "stereo_sample_sustained.mid"),
          sustain=True,
      )
      self.assertTrue(np.allclose(notes[0, 2], 4.00208333))
  
imports: from __future__ import absolute_import, division, print_function
  import os
  import tempfile
  import unittest
  from os.path import join
  from madmom.io.midi import *
  from .None import ANNOTATIONS_PATH
label_desc: Use image node_id 2 for calling the TestLoadMidiFunction obj's underlying member method code with example usage: obj.test_load_midi_sustained() without return types