code: def test_bitwise_shift_error():
      # bitwise shift functions should raise when the second argument is negative
      assert_raises(
          ValueError,
          lambda: bitwise_left_shift(asarray([1, 1]), asarray([1, -1])),
      )
      assert_raises(
          ValueError,
          lambda: bitwise_right_shift(
              asarray([1, 1]), asarray([1, -1])
          ),
      )
  
file_path: numpy/numpy/array_api/tests/test_elementwise_functions.py
imports: from inspect import getfullargspec
  from numpy.testing import assert_raises
  from ..None import asarray, _elementwise_functions
  from .._elementwise_functions import bitwise_left_shift, bitwise_right_shift
  from .._dtypes import _dtype_categories, _boolean_dtypes, _floating_dtypes, _integer_dtypes
label_desc: Use image node_id 3 for calling a global function with example usage: test_bitwise_shift_error() without return types