code: def test_interpolate_inplace_no_reference_no_copy(
      using_copy_on_write, vals
  ):
      df = DataFrame({"a": vals})
      arr = get_array(df, "a")
      df.interpolate(method="linear", inplace=True)
  
      assert np.shares_memory(arr, get_array(df, "a"))
      if using_copy_on_write:
          # Check that we don't have references when triggering a copy
          assert df._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 4 for calling a global function with example usage: test_interpolate_inplace_no_reference_no_copy(using_copy_on_write, vals) without return types