code: def test_series_str_copy(copy_on_write):
      original_cow_setting = cudf.get_option("copy_on_write")
      cudf.set_option("copy_on_write", copy_on_write)
      s = cudf.Series(["a", "b", "c", "d", "e"])
      s1 = s.copy(deep=True)
      s2 = s.copy(deep=True)
  
      assert_eq(s, cudf.Series(["a", "b", "c", "d", "e"]))
      assert_eq(s1, cudf.Series(["a", "b", "c", "d", "e"]))
      assert_eq(s2, cudf.Series(["a", "b", "c", "d", "e"]))
  
      s[0:3] = "abc"
  
      assert_eq(s, cudf.Series(["abc", "abc", "abc", "d", "e"]))
      assert_eq(s1, cudf.Series(["a", "b", "c", "d", "e"]))
      assert_eq(s2, cudf.Series(["a", "b", "c", "d", "e"]))
  
      s2[1:4] = "xyz"
  
      assert_eq(s, cudf.Series(["abc", "abc", "abc", "d", "e"]))
      assert_eq(s1, cudf.Series(["a", "b", "c", "d", "e"]))
      assert_eq(s2, cudf.Series(["a", "xyz", "xyz", "xyz", "e"]))
      cudf.set_option("copy_on_write", original_cow_setting)
  
imports: import cupy
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf import Series
  from cudf.testing._utils import NUMERIC_TYPES, OTHER_TYPES, assert_eq
label_desc: Use image node_id 15 for calling a global function with example usage: test_series_str_copy(copy_on_write) without return types