code: def test_savetxt(self):
      tmp_cupy = tempfile.NamedTemporaryFile(delete=False)
      tmp_numpy = tempfile.NamedTemporaryFile(delete=False)
      try:
          tmp_cupy.close()
          tmp_numpy.close()
          array = [[1, 2, 3], [2, 3, 4]]
          cupy.savetxt(tmp_cupy.name, cupy.array(array))
          numpy.savetxt(tmp_numpy.name, numpy.array(array))
          assert filecmp.cmp(tmp_cupy.name, tmp_numpy.name)
      finally:
          os.remove(tmp_cupy.name)
          os.remove(tmp_numpy.name)
  
file_path: cupy/tests/cupy_tests/io_tests/test_text.py
imports: import filecmp
  import os
  import tempfile
  import unittest
  import numpy
  import cupy
label_desc: Use image node_id 1 for calling the TestText obj's underlying member method code with example usage: obj.test_savetxt() without return types