code: def test_std_exception(msg):
      with pytest.raises(RuntimeError) as excinfo:
          m.throw_std_exception()
      assert (
          msg(excinfo.value)
          == "This exception was intentionally thrown."
      )
  
imports: import sys
  import pytest
  import env
  import pybind11_cross_module_tests
  import pybind11_tests
  from pybind11_tests import exceptions
label_desc: Use image node_id 1 for calling a global function with example usage: test_std_exception(msg) without return types