code: def test_arr_provided(im, im_mask):
      """Test that inputs are numpy arrays."""
  
      with pytest.raises(
          AttributeError, match="Input arr should be a numpy array."
      ):
          mask_pixels((2, 3), mask_arr=im_mask, vals=[0, 4])
      with pytest.raises(
          AttributeError, match="Input arr should be a numpy array."
      ):
          mask_pixels(im, mask_arr=(2, 3), vals=[0, 4])
  
file_path: earthpy/earthpy/tests/test_mask.py
imports: import numpy
  from earthpy.mask import mask_pixels
  import pytest
label_desc: Use image node_id 3 for calling a global function with example usage: test_arr_provided(im, im_mask) without return types