code: def test_cmax_equals_cmin(byte_arr):
      """Fail gracefully when the cmax is smaller than the cmin."""
  
      with pytest.raises(
          ValueError,
          match="`cmax` and `cmin` should not be the same value. ",
      ):
          es.bytescale(byte_arr, cmin=100, cmax=100)
  
file_path: earthpy/earthpy/tests/test_bytescale.py
imports: import pytest
  import numpy
  import earthpy.spatial
label_desc: Use image node_id 8 for calling a global function with example usage: test_cmax_equals_cmin(byte_arr) without return types