code: def test_modify(self):
      self.assertEqual(modify(0, "b"), -1)
      self.assertEqual(modify(0, "#"), 1)
      self.assertEqual(modify(5, "b"), 4)
      self.assertEqual(modify(10, "#"), 11)
      self.assertEqual(modify(0, "bb"), -2)
      self.assertEqual(modify(0, "###"), 3)
      self.assertEqual(modify(5, "b#"), 5)
      self.assertEqual(modify(10, "#b"), 10)
      self.assertEqual(modify(5, "b#bb#"), 4)
      self.assertRaises(ValueError, modify, 0, "ab#")
  
imports: from __future__ import absolute_import, division, print_function
  import unittest
  from os.path import join
  from madmom.evaluation.chords import *
  from .None import ANNOTATIONS_PATH, DETECTIONS_PATH
label_desc: Use image node_id 1 for calling the TestChordParsing obj's underlying member method code with example usage: obj.test_modify() without return types