code: def test_property_rvalue_policy():
      """When returning an rvalue, the return value policy is automatically changed from
      `reference(_internal)` to `move`. The following would not work otherwise.
      """
  
      instance = m.TestPropRVP()
      o = instance.rvalue
      assert o.value == 1
  
      os = m.TestPropRVP.static_rvalue
      assert os.value == 1
  
imports: import sys
  import pytest
  import env
  from pybind11_tests import ConstructorStats
  from pybind11_tests import methods_and_attributes
label_desc: Use image node_id 9 for calling a global function with example usage: test_property_rvalue_policy() without return types