code: def test_structure_format_int(self):
      # See #8160
      struct_int = np.array(
          [([1, -1],), ([123, 1],)], dtype=[("B", "i4", 2)]
      )
      assert_equal(
          np.array2string(struct_int), "[([  1,  -1],) ([123,   1],)]"
      )
      struct_2dint = np.array(
          [([[0, 1], [2, 3]],), ([[12, 0], [0, 0]],)],
          dtype=[("B", "i4", (2, 2))],
      )
      assert_equal(
          np.array2string(struct_2dint),
          "[([[ 0,  1], [ 2,  3]],) ([[12,  0], [ 0,  0]],)]",
      )
  
imports: import sys
  import gc
  from hypothesis import given
  from hypothesis.extra import numpy
  import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_raises, assert_warns, HAS_REFCOUNT, assert_raises_regex
  from numpy.core.arrayprint import _typelessdata
  import textwrap
label_desc: Use image node_id 5 for calling the TestArray2String obj's underlying member method code with example usage: obj.test_structure_format_int() without return types