code: def test_string_comparisons_empty(op, ufunc, sym, dtypes):
      arr = np.empty((1, 0, 1, 5), dtype=dtypes[0])
      arr2 = np.empty((100, 1, 0, 1), dtype=dtypes[1])
  
      expected = np.empty(
          np.broadcast_shapes(arr.shape, arr2.shape), dtype=bool
      )
      assert_array_equal(op(arr, arr2), expected)
      assert_array_equal(ufunc(arr, arr2), expected)
      assert_array_equal(
          np.char.compare_chararrays(arr, arr2, sym, False), expected
      )
  
imports: import pytest
  import operator
  import numpy
  from numpy.testing import assert_array_equal, assert_raises
label_desc: Use image node_id 4 for calling a global function with example usage: test_string_comparisons_empty(op, ufunc, sym, dtypes) without return types