code: def test_reading_from_gcs_bucket(self):
      # The base TestCase prevents GCS access, so we explicitly ask it to restore
      # access here.
      with testing.enable_gcs_access():
          mnist_builder = mnist.MNIST(
              data_dir=tempfile.mkdtemp(dir=self.get_temp_dir())
          )
          info = dataset_info.DatasetInfo(builder=mnist_builder)
          info = mnist_builder.info
  
          # A nominal check to see if we read it.
          self.assertTrue(info.initialized)
          self.assertEqual(10000, info.splits["test"].num_examples)
  
imports: import json
  import os
  import pathlib
  import tempfile
  import time
  from typing import Union
  import numpy
  import pytest
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import dataset_builder
  from tensorflow_datasets.core import dataset_info
  from tensorflow_datasets.core import features
  from tensorflow_datasets.core import file_adapters
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import read_only_builder
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.proto import dataset_info_pb2
  from tensorflow_datasets.core.proto import feature_pb2
  from tensorflow_datasets.image_classification import mnist
  from tensorflow_datasets.testing.dummy_config_based_datasets.dummy_ds_1 import dummy_ds_1_dataset_builder
  from google.protobuf import text_format
label_desc: Use image node_id 10 for calling the DatasetInfoTest obj's underlying member method code with example usage: obj.test_reading_from_gcs_bucket() without return types