code: def test__stack_bands(b1_b2_arrs):
      """_stack_bands input should be of type DatasetReader."""
  
      # Test data
      b1, b2 = b1_b2_arrs
  
      # Check ValueError for Dataset Reader
      with pytest.raises(
          AttributeError,
          match="The sources object should be Dataset Reader",
      ):
          es._stack_bands([b1, b2])
  
imports: import numpy
  import pytest
  import earthpy.spatial
label_desc: Use image node_id 2 for calling a global function with example usage: test__stack_bands(b1_b2_arrs) without return types