code: def test_move_out_container():
      """Properties use the `reference_internal` policy by default. If the underlying function
      returns an rvalue, the policy is automatically changed to `move` to avoid referencing
      a temporary. In case the return value is a container of user-defined types, the policy
      also needs to be applied to the elements, not just the container.
      """
      from pybind11_tests import MoveOutContainer
  
      c = MoveOutContainer()
      moved_out_list = c.move_list
      assert [x.value for x in moved_out_list] == [0, 1, 2]
  
file_path: turicreate/src/external/coremltools_wrap/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 14 for calling a global function with example usage: test_move_out_container() without return types