code: def test_aok_coercion(val, expected, validator_aok):
      assert validator_aok.validate_coerce([val]) == [expected]
      assert np.array_equal(
          validator_aok.validate_coerce(np.array([val])),
          np.array([expected]),
      )
  
file_path: plotly.py/packages/python/plotly/_plotly_utils/tests/validators/test_angle_validator.py
imports: import pytest
  from _plotly_utils.basevalidators import AngleValidator
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: test_aok_coercion(val, expected, validator_aok) without return types