code: def test_adapt_short_sequence() -> None:
      sequence = IdentitySequence(3)
      with pytest.raises(check.CheckFailedError):
          with keras._build_enqueuer(
              sequence=sequence,
              workers=0,
              use_multiprocessing=False,
              max_queue_size=10,
              shard_rank=0,
              num_shards=4,
              repeat=False,
              shuffle=False,
              shuffle_seed=0,
              prior_batches_trained=0,
          ):
              pass
  
imports: from typing import Tuple
  import numpy
  import pytest
  from tensorflow.keras.utils import Sequence
  import determined
  from determined import keras
  from determined.common import check
  from tests.experiment import tf_utils
label_desc: Use image node_id 8 for calling a global function with example usage: test_adapt_short_sequence() without return types