class_docstr: Test getting and setting global print options.
class_docstr_tok: ["Test","getting","and","setting","global","print","options","."]
code: def test_edgeitems_structured(self):
      np.set_printoptions(edgeitems=1, threshold=1)
      A = np.arange(5 * 2 * 3, dtype="<i8").view(
          [("i", "<i8", (5, 2, 3))]
      )
      reprA = (
          "array([([[[ 0, ...,  2], [ 3, ...,  5]], ..., "
          "[[24, ..., 26], [27, ..., 29]]],)],\n"
          "      dtype=[('i', '<i8', (5, 2, 3))])"
      )
      assert_equal(repr(A), reprA)
  
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 21 for calling the TestPrintOptions obj's underlying member method code with example usage: obj.test_edgeitems_structured() without return types