code: def test_set_index_drop_update_column(using_copy_on_write):
      df = DataFrame({"a": [1, 2], "b": 1.5})
      view = df[:]
      df = df.set_index("a", drop=True)
      expected = df.index.copy(deep=True)
      view.iloc[0, 0] = 100
      tm.assert_index_equal(df.index, expected)
  
file_path: pandas/pandas/tests/copy_view/index/test_index.py
imports: import numpy
  import pytest
  from pandas import DataFrame, Index, Series
  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_set_index_drop_update_column(using_copy_on_write) without return types