code: def test_creating_arraysequence_from_list(self):
      # Empty list
      check_empty_arr_seq(ArraySequence([]))
  
      # List of ndarrays.
      N = 5
      for ndim in range(1, N + 1):
          common_shape = tuple(
              [SEQ_DATA["rng"].randint(1, 10) for _ in range(ndim - 1)]
          )
          data = generate_data(
              nb_arrays=5,
              common_shape=common_shape,
              rng=SEQ_DATA["rng"],
          )
          check_arr_seq(ArraySequence(data), data)
  
      # Force ArraySequence constructor to use buffering.
      buffer_size = 1.0 / 1024**2  # 1 bytes
      check_arr_seq(
          ArraySequence(iter(SEQ_DATA["data"]), buffer_size),
          SEQ_DATA["data"],
      )
  
imports: import itertools
  import os
  import sys
  import tempfile
  import unittest
  import numpy
  import pytest
  from numpy.testing import assert_array_equal
  from ...testing import assert_arrays_equal
  from ..array_sequence import ArraySequence, concatenate, is_array_sequence
label_desc: Use image node_id 2 for calling the TestArraySequence obj's underlying member method code with example usage: obj.test_creating_arraysequence_from_list() without return types