code: def test_normalized_diff_shapes(b1_b2_arrs):
      """Test that two arrays with different shapes returns a ValueError."""
  
      # Test data
      b1, b2 = b1_b2_arrs
      b2 = b2[0]
  
      # Check ValueError
      with pytest.raises(
          ValueError,
          match="Both arrays should have the same dimensions",
      ):
          es.normalized_diff(b1=b1, b2=b2)
  
file_path: earthpy/earthpy/tests/test_norm_diff.py
imports: import numpy
  import numpy.ma
  import pytest
  import earthpy.spatial
label_desc: Use image node_id 2 for calling a global function with example usage: test_normalized_diff_shapes(b1_b2_arrs) without return types