code: def test_setitem_series_column_midx_broadcasting(using_copy_on_write):
      # Setting a Series to multiple columns will repeat the data
      # (currently copying the data eagerly)
      df = DataFrame(
          [[1, 2, 3], [3, 4, 5]],
          columns=MultiIndex.from_arrays([["a", "a", "b"], [1, 2, 3]]),
      )
      rhs = Series([10, 11])
      df["a"] = rhs
      assert not np.shares_memory(
          get_array(rhs), df._get_column_array(0)
      )
      if using_copy_on_write:
          assert df._mgr._has_no_reference(0)
  
file_path: pandas/pandas/tests/copy_view/test_setitem.py
imports: import numpy
  from pandas import DataFrame, Index, MultiIndex, RangeIndex, Series
  import pandas._testing
  from pandas.tests.copy_view.util import get_array
label_desc: Use image node_id 8 for calling a global function with example usage: test_setitem_series_column_midx_broadcasting(using_copy_on_write) without return types