code: def test_vals_as_list(im, im_mask):
      """Test for return of masked_array type."""
  
      with pytest.raises(
          AttributeError, match="Values should be provided as a list"
      ):
          mask_pixels(im, mask_arr=im_mask, vals=(0, 1, 2, 3))
  
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 5 for calling a global function with example usage: test_vals_as_list(im, im_mask) without return types