code: def test_read_out_mask(path_rgb_byte_tif, out):
      """Raise when out keyword arg has wrong shape."""
      with rasterio.open(path_rgb_byte_tif) as src:
          with pytest.raises(ValueError):
              src.read(indexes=[2], out=out)
  
imports: from hashlib import md5
  import unittest
  import numpy
  import pytest
  import rasterio
  from rasterio.errors import DatasetIOShapeError
label_desc: Use image node_id 7 for calling a global function with example usage: test_read_out_mask(path_rgb_byte_tif, out) without return types