docstr: fails when passed a non-string value 
docstr_tok: ["fails","when","passed","a","non-string","value"]
code: def test_note2midi_wrong_data_type(self):
      "fails when passed a non-string value"
      self.assertRaises(TypeError, note2midi, 123)
  
imports: from __future__ import unicode_literals
  from aubio import note2midi, freq2note, note2freq, float_type
  from numpy.testing import TestCase
  from _tools import parametrize, assert_raises, skipTest
label_desc: Use image node_id 8 for calling the note2midi_wrong_values obj's underlying member method code with example usage: obj.test_note2midi_wrong_data_type() without return types