code: def test_skew_raises():
      a = da.ones((7,), chunks=(7,))
      with pytest.raises(ValueError, match="7 samples"):
          dask.array.stats.skewtest(a)
  
file_path: dask/dask/array/tests/test_stats.py
imports: from __future__ import annotations
  import warnings
  import pytest
  from packaging.version import parse
  import numpy
  import dask.array
  import dask.array.stats
  from dask.array.utils import allclose, assert_eq
  from dask.delayed import Delayed
label_desc: Use image node_id 9 for calling a global function with example usage: test_skew_raises() without return types