code: def test_lag_to_recurrence_badsize(size):
      librosa.segment.lag_to_recurrence(np.zeros(size))
  
imports: from typing import Union
  import warnings
  import os
  import numpy
  import scipy
  from scipy.spatial.distance import cdist, pdist, squareform
  import pytest
  from test_core import srand
  import librosa
label_desc: Use image node_id 29 for calling a global function with example usage: test_lag_to_recurrence_badsize(size) without return types