code: def test_errors(self):
      with self.assertRaises(ValueError):
          quantize_notes([0, 1, 2], fps=100)
      with self.assertRaises(ValueError):
          quantize_notes([[0], [1], [2]], fps=100)
      with self.assertRaises(ValueError):
          quantize_notes(np.arange(8).reshape((2, 2, 2)), fps=100)
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.utils import *
  from .None import ACTIVATIONS_PATH, ANNOTATIONS_PATH, AUDIO_PATH, DATA_PATH, DETECTIONS_PATH
  from .test_evaluation_notes import ANNOTATIONS
label_desc: Use image node_id 6 for calling the TestQuantizeNotesFunction obj's underlying member method code with example usage: obj.test_errors() without return types