code: def testLoadingPythonSourceFileInParFileFailsRaisingIOError(self):
      # Create the .par file first.
      temp_file_path = os.path.join(self.get_temp_dir(), "model.py")
      with open(temp_file_path, "wb") as f:
          f.write(b"import tensorflow as tf\nx = tf.constant(42.0)\n")
      par_path = os.path.join(self.get_temp_dir(), "train_model.par")
      with zipfile.ZipFile(par_path, "w") as zf:
          zf.write(
              temp_file_path,
              os.path.join("tensorflow_models", "model.py"),
          )
  
      source_path = os.path.join(
          par_path, "tensorflow_models", "nonexistent.py"
      )
      with self.assertRaisesRegex(
          IOError, "neither exists nor can be loaded.*par.*"
      ):
          source_utils.load_source(source_path)
  
imports: import ast
  import os
  import sys
  import tempfile
  import zipfile
  import numpy
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.debug.lib import debug_data
  from tensorflow.python.debug.lib import debug_utils
  from tensorflow.python.debug.lib import source_utils
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import googletest
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 13 for calling the SourceHelperTest obj's underlying member method code with example usage: obj.testLoadingPythonSourceFileInParFileFailsRaisingIOError() without return types