code: def test_interpolate_triggers_copy(using_copy_on_write, vals, func):
      df = DataFrame({"a": vals})
      result = getattr(df, func)()
  
      assert not np.shares_memory(
          get_array(result, "a"), get_array(df, "a")
      )
      if using_copy_on_write:
          # Check that we don't have references when triggering a copy
          assert result._mgr._has_no_reference(0)
  
imports: import numpy
  import pytest
  from pandas import NA, ArrowDtype, DataFrame, Interval, NaT, Series, Timestamp, interval_range, option_context
  import pandas._testing
  from pandas.tests.copy_view.util import get_array
label_desc: Use image node_id 3 for calling a global function with example usage: test_interpolate_triggers_copy(using_copy_on_write, vals, func) without return types