code: def test_str_cat_raises_intuitive_error(index_or_series):
      # GH 11334
      box = index_or_series
      s = box(["a", "b", "c", "d"])
      message = "Did you mean to supply a `sep` keyword?"
      with pytest.raises(ValueError, match=message):
          s.str.cat("|")
      with pytest.raises(ValueError, match=message):
          s.str.cat("    ")
  
file_path: pandas/pandas/tests/strings/test_cat.py
imports: import re
  import numpy
  import pytest
  import pandas.util._test_decorators
  from pandas import DataFrame, Index, MultiIndex, Series, _testing, concat, option_context
label_desc: Use image node_id 4 for calling a global function with example usage: test_str_cat_raises_intuitive_error(index_or_series) without return types