code: def test_load_v1(self):
      if (
          not hasattr(tf.compat.v1.saved_model, "load_v2")
          or not tf.compat.v1.executing_eagerly()
      ):
          return  # The test only applies when running V2 mode.
      full_module_path = test_utils.get_test_data_path(
          "half_plus_two_v1.tar.gz"
      )
      os.chdir(os.path.dirname(full_module_path))
      server_port = test_utils.start_http_server()
      handle = (
          "http://localhost:%d/half_plus_two_v1.tar.gz" % server_port
      )
      hub.load(handle)
  
file_path: hub/tensorflow_hub/e2e_test.py
imports: import os
  import tarfile
  from absl import logging
  import tensorflow
  import tensorflow_hub
  from tensorflow_hub import test_utils
label_desc: Use image node_id 7 for calling the End2EndTest obj's underlying member method code with example usage: obj.test_load_v1() without return types