code: def test_mixed_string_comparison_ufuncs_fail(op, ufunc, sym):
      arr_string = np.array(["a", "b"], dtype="S")
      arr_unicode = np.array(["a", "c"], dtype="U")
  
      with pytest.raises(TypeError, match="did not contain a loop"):
          ufunc(arr_string, arr_unicode)
  
      with pytest.raises(TypeError, match="did not contain a loop"):
          ufunc(arr_unicode, arr_string)
  
file_path: catboost/contrib/python/numpy/py3/numpy/core/tests/test_strings.py
imports: import pytest
  import operator
  import numpy
  from numpy.testing import assert_array_equal
label_desc: Use image node_id 1 for calling a global function with example usage: test_mixed_string_comparison_ufuncs_fail(op, ufunc, sym) without return types