code: def test_acceptance_array(val, validator):
      assert validator.validate_coerce(val) == val
  
file_path: plotly.py/packages/python/plotly/_plotly_utils/tests/validators/test_colorscale_validator.py
imports: import pytest
  from _plotly_utils.basevalidators import ColorscaleValidator
  from _plotly_utils import colors
  import numpy
  import inspect
  import itertools
label_desc: Use image node_id 6 for calling a global function with example usage: test_acceptance_array(val, validator) without return types