code: def test_arraysequence_iter(self):
      assert_arrays_equal(SEQ_DATA["seq"], SEQ_DATA["data"])
  
      # Try iterating through a corrupted ArraySequence object.
      seq = SEQ_DATA["seq"].copy()
      seq._lengths = seq._lengths[::2]
      with pytest.raises(ValueError):
          list(seq)
  
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 5 for calling the TestArraySequence obj's underlying member method code with example usage: obj.test_arraysequence_iter() without return types