code: def test_cant_fft_chunked_axis(funcname):
      da_fft = getattr(da.fft, funcname)
  
      bad_darr = da.from_array(nparr, chunks=(5, 5))
      for i in range(bad_darr.ndim):
          with pytest.raises(ValueError):
              da_fft(bad_darr, axis=i)
  
imports: from __future__ import annotations
  from itertools import combinations_with_replacement
  import numpy
  import pytest
  import dask.array
  import dask.array.fft
  from dask.array.core import normalize_chunks
  from dask.array.fft import fft_wrap
  from dask.array.utils import assert_eq, same_keys
label_desc: Use image node_id 1 for calling a global function with example usage: test_cant_fft_chunked_axis(funcname) without return types