code: def test_4d():
      np.random.seed(22)
      f = np.random.rand(16, 16, 16, 16)
      f = (f * 255).astype(np.uint8)
      with pytest.raises(ValueError):
          tas(f)
  
file_path: mahotas/mahotas/tests/test_tas.py
imports: import numpy
  from mahotas.features import tas, pftas
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_4d() without return types