code: def test_remove_long_seq():
      maxlen = 5
      seq = [
          [1, 2, 3],
          [1, 2, 3, 4, 5, 6],
      ]
      label = ["a", "b"]
      new_seq, new_label = sequence._remove_long_seq(maxlen, seq, label)
      assert new_seq == [[1, 2, 3]]
      assert new_label == ["a"]
  
file_path: keras-preprocessing/tests/sequence_test.py
imports: from math import ceil
  import numpy
  import pytest
  from numpy.testing import assert_allclose, assert_equal, assert_raises
  from keras_preprocessing import sequence
label_desc: Use image node_id 6 for calling a global function with example usage: test_remove_long_seq() without return types