code: def test_invalid_workers(x):
      cpus = os.cpu_count()
  
      fft.ifft([1], workers=-cpus)
  
      with pytest.raises(ValueError, match="workers must not be zero"):
          fft.fft(x, workers=0)
  
      with pytest.raises(
          ValueError, match="workers value out of range"
      ):
          fft.ifft(x, workers=-cpus - 1)
  
file_path: catboost/contrib/python/scipy/py3/scipy/fft/tests/test_multithreading.py
imports: from scipy import fft
  import numpy
  import pytest
  from numpy.testing import assert_allclose
  import multiprocessing
  import os
label_desc: Use image node_id 5 for calling a global function with example usage: test_invalid_workers(x) without return types