code: def test_call_guard():
      assert m.unguarded_call() == "unguarded"
      assert m.guarded_call() == "guarded"
  
      assert m.multiple_guards_correct_order() == "guarded & guarded"
      assert m.multiple_guards_wrong_order() == "unguarded & guarded"
  
      if hasattr(m, "with_gil"):
          assert m.with_gil() == "GIL held"
          assert m.without_gil() == "GIL released"
  
file_path: coremltools/deps/pybind11/tests/test_call_policies.py
imports: import pytest
  import env
  from pybind11_tests import ConstructorStats
  from pybind11_tests import call_policies
label_desc: Use image node_id 8 for calling a global function with example usage: test_call_guard() without return types