code: def test_mela_to_degrees(mela, idx):
      degrees = librosa.mela_to_degrees(mela)
      assert np.allclose(degrees, librosa.mela_to_degrees(idx))
      assert len(degrees) == 7
      assert np.all(degrees >= 0) and np.all(degrees < 12)
  
      if idx < 37:
          # check shuddha
          assert np.isin(5, degrees)
      else:
          # check prati
          assert np.isin(6, degrees)
  
imports: import os
  import sys
  import warnings
  import numpy
  import pytest
  import librosa
label_desc: Use image node_id 16 for calling a global function with example usage: test_mela_to_degrees(mela, idx) without return types