code: def test_tar_gz():
      """test_tar_gz"""
      filename = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "test_parquet",
          "parquet_cpp_example.parquet.tar.gz",
      )
      filename = "file://" + filename
  
      (
          format,  # pylint: disable=redefined-builtin
          entries,
      ) = archive_io.list_archive_entries(filename, ["gz", "tar.gz"])
      assert format.numpy().decode() == "tar.gz"
      assert entries.shape == [2]
      assert (
          entries[0].numpy().decode() == "parquet_cpp_example.parquet.1"
      )
      assert (
          entries[1].numpy().decode() == "parquet_cpp_example.parquet.2"
      )
  
      elements = archive_io.read_archive(filename, format, entries)
      assert elements.shape == [2]
  
      expected_filename = os.path.join(
          os.path.dirname(os.path.abspath(__file__)),
          "test_parquet",
          "parquet_cpp_example.parquet",
      )
      expected_filename = "file://" + expected_filename
  
      assert (
          elements[0].numpy()
          == tf.io.read_file(expected_filename).numpy()
      )
      assert (
          elements[1].numpy()
          == tf.io.read_file(expected_filename).numpy()
      )
  
imports: import os
  import tensorflow
  import tensorflow_io.python.ops.archive_ops
label_desc: Use image node_id 3 for calling a global function with example usage: test_tar_gz() without return types