code: def test_column_set_equal_length_object_by_mask():
      # Series.__setitem__ might bypass some of the cases
      # handled in column.__setitem__ so this test is needed
  
      data = cudf.Series([0, 0, 1, 1, 1])._column
      replace_data = cudf.Series([100, 200, 300, 400, 500])._column
      bool_col = cudf.Series([True, True, True, True, True])._column
  
      data[bool_col] = replace_data
      assert_eq(cudf.Series(data), cudf.Series(replace_data))
  
      data = cudf.Series([0, 0, 1, 1, 1])._column
      bool_col = cudf.Series([True, False, True, False, True])._column
      data[bool_col] = replace_data
  
      assert_eq(cudf.Series(data), cudf.Series([100, 0, 300, 1, 500]))
  
imports: import numpy
  import pandas
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_150
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
label_desc: Use image node_id 10 for calling a global function with example usage: test_column_set_equal_length_object_by_mask() without return types