code: def test_mela_to_svara(mela, svara, abbr, unicode):
      svara_est = librosa.mela_to_svara(
          mela, abbr=abbr, unicode=unicode
      )
  
      for s1, s2 in zip(svara_est, svara):
          assert s1[0] == s2[0]
  
      if abbr:
          for s in svara_est:
              assert len(s) in (1, 2)
      else:
          for s in svara_est:
              assert 0 < len(s) < 5
  
      if sys.version >= "3.7":
          if not unicode:
              # If we're in non-unicode mode, this shouldn't raise an exception
              for s in svara_est:
                  assert s.isascii()
  
imports: import os
  import sys
  import warnings
  import numpy
  import pytest
  import librosa
label_desc: Use image node_id 17 for calling a global function with example usage: test_mela_to_svara(mela, svara, abbr, unicode) without return types