code: def test_bad_ramp():
      with pytest.raises(ValueError):
          create_color_stops([1, 2, 3], colors="DoubleRainbow")
  
imports: import pytest
  from mapboxgl.utils import create_color_stops
label_desc: Use image node_id 2 for calling a global function with example usage: test_bad_ramp() without return types