code: def test_user_mask_arr(im, im_mask):
      """Test that vals are provided for non boolean mask."""
  
      with pytest.raises(
          ValueError,
          match="""You have provided a mask_array with no values to mask""",
      ):
          mask_pixels(im, im_mask)
  
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 10 for calling a global function with example usage: test_user_mask_arr(im, im_mask) without return types