code: def test_boolean_mask(im, im_mask):
      """If boolean mask provided without vals, a masked arr is returned."""
  
      boolean_mask = im_mask > 1
      out = mask_pixels(im, boolean_mask)
      expected_out_mask = np.array(
          [[False, False, False], [False, True, True]]
      )
      assert np.array_equal(expected_out_mask, out.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 9 for calling a global function with example usage: test_boolean_mask(im, im_mask) without return types