code: def test_trim_empty():
      y = np.zeros(1)
  
      yt, idx = librosa.effects.trim(y, ref=1)
  
      assert yt.size == 0
      assert idx[0] == 0
      assert idx[1] == 0
  
imports: import warnings
  import os
  from contextlib import nullcontext
  import numpy
  import pytest
  import librosa
label_desc: Use image node_id 15 for calling a global function with example usage: test_trim_empty() without return types