code: def test_load_onsets_without_comments(self):
      from tests.test_evaluation_onsets import SAMPLE_DETECTIONS
  
      events = load_onsets(pj(DETECTIONS_PATH, "sample.super_flux.txt"))
      self.assertTrue(np.allclose(events, SAMPLE_DETECTIONS))
  
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 2 for calling the TestLoadOnsetsFunction obj's underlying member method code with example usage: obj.test_load_onsets_without_comments() without return types