code: def test_read_text_in_memory(datadir):
      # Since Python split removes the delimiter and read_text does
      # not we need to add it back to the 'content'
      expected = cudf.Series(["x::", "y::", "z"])
  
      actual = cudf.read_text(StringIO("x::y::z"), delimiter="::")
  
      assert_eq(expected, actual)
  
file_path: cudf/python/cudf/cudf/tests/input_output/test_text.py
imports: from io import StringIO
  import pytest
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 5 for calling a global function with example usage: test_read_text_in_memory(datadir) without return types