code: def _AddTest(test, test_name, fn):
      test_name = "_".join(["test", test_name])
      if hasattr(test, test_name):
          raise RuntimeError(
              "Test %s defined more than once" % test_name
          )
      setattr(test, test_name, fn)
  
file_path: tensorflow/tensorflow/python/kernel_tests/linalg/normalize_op_test.py
imports: import numpy
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import nn_impl
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling a global function with example usage: _AddTest(test, test_name, fn) without return types