code: def test_recarray_stringtypes(self):
      # Issue #3993
      a = np.array(
          [("abc ", 1), ("abc", 2)], dtype=[("foo", "S4"), ("bar", int)]
      )
      a = a.view(np.recarray)
      assert_equal(a.foo[0] == a.foo[1], False)
  
imports: import collections.abc
  import textwrap
  from io import BytesIO
  from os import path
  from pathlib import Path
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal, assert_array_almost_equal, assert_raises, temppath
  from numpy.compat import pickle
label_desc: Use image node_id 17 for calling the TestFromrecords obj's underlying member method code with example usage: obj.test_recarray_stringtypes() without return types