code: def test_implicit_casting():
      """Tests implicit casting when assigning or appending to dicts and lists."""
      from pybind11_tests import get_implicit_casting
  
      z = get_implicit_casting()
      assert z["d"] == {
          "char*_i1": "abc",
          "char*_i2": "abc",
          "char*_e": "abc",
          "char*_p": "abc",
          "str_i1": "str",
          "str_i2": "str1",
          "str_e": "str2",
          "str_p": "str3",
          "int_i1": 42,
          "int_i2": 42,
          "int_e": 43,
          "int_p": 44,
      }
      assert z["l"] == [3, 6, 9, 12, 15]
  
file_path: coremltools/deps/pybind11/tests/test_python_types.py
imports: import pytest
  from pybind11_tests import ExamplePythonTypes, ConstructorStats, has_optional, has_exp_optional
label_desc: Use image node_id 15 for calling a global function with example usage: test_implicit_casting() without return types