code: def test_invalid_range(self):
      with pytest.raises(ValueError, match="2-length sequence"):
          signal.ZoomFFT(100, [1, 2, 3])
  
imports: from math import pi
  import pytest
  import cupy
  import numpy
  from cupy import testing
  from cupy.testing import assert_allclose
  import cupyx.scipy.fft
  import cupyx.scipy.signal
label_desc: Use image node_id 2 for calling the TestErrors obj's underlying member method code with example usage: obj.test_invalid_range() without return types