code: def test_convert_value_sequence():
      sequence_feature = feature_lib.Sequence(feature=tf.int64)
      assert huggingface_dataset_builder._convert_value(
          [42], sequence_feature
      ) == [42]
      assert huggingface_dataset_builder._convert_value(
          42, sequence_feature
      ) == [42]
      assert (
          huggingface_dataset_builder._convert_value(
              None, sequence_feature
          )
          == []  # pylint: disable=g-explicit-bool-comparison
      )
  
imports: import datetime
  from unittest import mock
  from absl import logging
  import numpy
  import pytest
  import tensorflow
  from tensorflow_datasets.core import features
  from tensorflow_datasets.core import lazy_imports_lib
  from tensorflow_datasets.core import registered
  from tensorflow_datasets.core.dataset_builders import huggingface_dataset_builder
label_desc: Use image node_id 7 for calling a global function with example usage: test_convert_value_sequence() without return types