code: def test_coercion(val, expected, validator):
      assert validator.validate_coerce(val) == 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 4 for calling a global function with example usage: test_coercion(val, expected, validator) without return types