code: def test_safe_string_eq():
      assert safe_string_eq("foo", "foo")
      assert not safe_string_eq("foo", "bar")
  
      if not six.PY3:
          assert safe_string_eq(unicode("foo"), "foo")
  
      assert not safe_string_eq(np.empty((2, 2)), "foo")
  
imports: import sys
  import numpy
  import six
  from six.moves import cStringIO
  from .compat import optional_dep_ok
label_desc: Use image node_id 36 for calling a global function with example usage: test_safe_string_eq() without return types