code: def test_list_tuple(self):
      test_data = [[1, 2], [3, 4]]
      result = ToNumpy()(test_data)
      assert_allclose(result, np.asarray(test_data), type_test=False)
      test_data = ((1, 2), (3, 4))
      result = ToNumpy(wrap_sequence=False)(test_data)
      self.assertTrue(type(result), tuple)
      assert_allclose(
          result,
          (
              (np.asarray(1), np.asarray(2)),
              (np.asarray(3), np.asarray(4)),
          ),
      )
  
file_path: MONAI/tests/test_to_numpy.py
imports: from __future__ import annotations
  import unittest
  from unittest import skipUnless
  import numpy
  import torch
  from monai.transforms import ToNumpy
  from monai.utils import optional_import
  from tests.utils import HAS_CUPY, assert_allclose, skip_if_no_cuda
label_desc: Use image node_id 5 for calling the TestToNumpy obj's underlying member method code with example usage: obj.test_list_tuple() without return types