code: def test_validator_acceptance(val, validator):
      assert validator.validate_coerce(val) == val
  
file_path: plotly.py/packages/python/plotly/_plotly_utils/tests/validators/test_imageuri_validator.py
imports: import base64
  import os
  import pytest
  from _plotly_utils.basevalidators import ImageUriValidator
  from PIL import Image
label_desc: Use image node_id 2 for calling a global function with example usage: test_validator_acceptance(val, validator) without return types