docstr: Basic test of array2string.
docstr_tok: ["Basic","test","of","array2string","."]
code: def test_basic(self):
      """Basic test of array2string."""
      a = np.arange(3)
      assert_(np.array2string(a) == "[0 1 2]")
      assert_(
          np.array2string(a, max_line_width=4, legacy="1.13")
          == "[0 1\n 2]"
      )
      assert_(np.array2string(a, max_line_width=4) == "[0\n 1\n 2]")
  
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 1 for calling the TestArray2String obj's underlying member method code with example usage: obj.test_basic() without return types