code: def test_short_shift():
      im = np.arange(256).reshape((16, 4, -1))
      with raises(ValueError):
          interpolate.shift(im, [1, 0])
  
file_path: mahotas/mahotas/tests/test_interpolate.py
imports: from mahotas import interpolate
  import numpy
  import pytest
  from pytest import raises
label_desc: Use image node_id 9 for calling a global function with example usage: test_short_shift() without return types