code: def test_BuiltinDataset():
      """Test BuiltinDataset."""
      with tempfile.TemporaryDirectory() as test_dir:
          # Case 1: download from DGL S3 storage.
          dataset_name = "test-dataset-231207"
          # Add dataset to the builtin dataset list for testing only.
          gb.BuiltinDataset._all_datasets.append(dataset_name)
          dataset = gb.BuiltinDataset(
              name=dataset_name, root=test_dir
          ).load()
          assert dataset.graph is not None
          assert dataset.feature is not None
          assert dataset.tasks is not None
          assert dataset.dataset_name == dataset_name
  
          # Case 2: dataset is already downloaded.
          dataset = gb.BuiltinDataset(
              name=dataset_name, root=test_dir
          ).load()
          assert dataset.graph is not None
          assert dataset.feature is not None
          assert dataset.tasks is not None
          assert dataset.dataset_name == dataset_name
  
          dataset = None
  
          # Case 3: dataset is not available.
          dataset_name = "fake_name"
          with pytest.raises(
              RuntimeError,
              match=rf"Dataset {dataset_name} is not available.*",
          ):
              _ = gb.BuiltinDataset(
                  name=dataset_name, root=test_dir
              ).load()
  
imports: import os
  import pickle
  import random
  import re
  import tempfile
  import unittest
  import warnings
  import numpy
  import pandas
  import pydantic
  import pytest
  import torch
  import yaml
  from dgl import graphbolt
  from dgl.base import DGLWarning
  from ..None import gb_test_utils
label_desc: Use image node_id 33 for calling a global function with example usage: test_BuiltinDataset() without return types