docstr: difficult values are correctly converted unless expected failure 
docstr_tok: ["difficult","values","are","correctly","converted","unless","expected","failure"]
code: def test_note2midi_known_values_with_unicode_issues(self, note, midi):
      "difficult values are correctly converted unless expected failure"
      try:
          assert note2midi(note) == midi
      except UnicodeEncodeError as e:
          # platforms with decoding failures include:
          # - osx: python <= 2.7.10
          # - win: python <= 2.7.12
          import sys
  
          strmsg = "len(u'\\U0001D12A') != 1, expected decoding failure"
          strmsg += " | upgrade to Python 3 to fix"
          strmsg += " | {:s} | {:s} {:s}"
          if len("\U0001D12A") != 1 and sys.version[0] == "2":
              skipTest(
                  strmsg.format(repr(e), sys.platform, sys.version)
              )
          else:
              raise
  
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 2 for calling the Test_note2midi_good_values obj's underlying member method code with example usage: obj.test_note2midi_known_values_with_unicode_issues(note, midi) without return types