code: def test_arraysequence_repr(self):
      # Test that calling repr on a ArraySequence object is not falling.
      repr(SEQ_DATA["seq"])
  
      # Test calling repr when the number of arrays is bigger dans Numpy's
      # print option threshold.
      nb_arrays = 50
      seq = ArraySequence(
          generate_data(
              nb_arrays, common_shape=(1,), rng=SEQ_DATA["rng"]
          )
      )
  
      bkp_threshold = np.get_printoptions()["threshold"]
      np.set_printoptions(threshold=nb_arrays * 2)
      txt1 = repr(seq)
      np.set_printoptions(threshold=nb_arrays // 2)
      txt2 = repr(seq)
      assert len(txt2) < len(txt1)
      np.set_printoptions(threshold=bkp_threshold)
  
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 12 for calling the TestArraySequence obj's underlying member method code with example usage: obj.test_arraysequence_repr() without return types