code: def test_client_with_tf_1x_raises_error(self):
      # This test is only applicable to TF 1.x
      if not utils.is_tf_v1():
          return
  
      x = np.random.random((2, 3))
      y = np.random.randint(0, 2, (2, 2))
  
      # TF 1.x is not supported, verify proper error is raised for TF 1.x.
      with self.assertRaises(RuntimeError):
          client.cloud_fit(
              self._model(),
              x=x,
              y=y,
              remote_dir="gs://some_test_dir",
              region=self._region,
              project_id=self._project_id,
              image_uri=self._image_uri,
              epochs=2,
          )
  
file_path: cloud/src/python/tensorflow_cloud/tuner/tests/integration/cloud_fit_integration_test.py
imports: import os
  from typing import Text
  import uuid
  from absl import logging
  import numpy
  import tensorflow
  from tensorflow_cloud.tuner import cloud_fit_client
  from tensorflow_cloud.tuner import cloud_fit_utils
  from tensorflow_cloud.utils import google_api_client
label_desc: Use image node_id 5 for calling the CloudFitIntegrationTest obj's underlying member method code with example usage: obj.test_client_with_tf_1x_raises_error() without return types