code: def test_arg_reductions_unknown_chunksize(func):
      x = da.arange(10, chunks=5)
      x = x[x > 1]
  
      with pytest.raises(ValueError) as info:
          getattr(da, func)(x)
  
      assert "unknown chunksize" in str(info.value)
  
imports: from __future__ import annotations
  import os
  import warnings
  from contextlib import nullcontext
  from itertools import permutations, zip_longest
  import pytest
  import itertools
  import dask.array
  import dask.config
  from dask.array.numpy_compat import ComplexWarning, _numpy_122
  from dask.array.utils import assert_eq, same_keys
  from dask.core import get_deps
label_desc: Use image node_id 13 for calling a global function with example usage: test_arg_reductions_unknown_chunksize(func) without return types