code: def test_copy_method():
      """Issue #443: calling copied methods fails in Python 3"""
  
      m.ExampleMandA.add2c = m.ExampleMandA.add2
      m.ExampleMandA.add2d = m.ExampleMandA.add2b
      a = m.ExampleMandA(123)
      assert a.value == 123
      a.add2(m.ExampleMandA(-100))
      assert a.value == 23
      a.add2b(m.ExampleMandA(20))
      assert a.value == 43
      a.add2c(m.ExampleMandA(6))
      assert a.value == 49
      a.add2d(m.ExampleMandA(-7))
      assert a.value == 42
  
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 2 for calling a global function with example usage: test_copy_method() without return types