code: def test_acceptance_colorscale(val, validator_colorscale):
      assert validator_colorscale.validate_coerce(val) == val
  
imports: import pytest
  from _plotly_utils.basevalidators import ColorValidator
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: test_acceptance_colorscale(val, validator_colorscale) without return types