code: def test_namespace_collisions_avoided(self):
      class TestClass(object):
          def global_var_for_test_namespace_collisions(self):
              return global_var_for_test_namespace_collisions
  
      tr = TestTranspiler()
      obj = TestClass()
  
      f, _, _ = tr.transform(
          obj.global_var_for_test_namespace_collisions, None
      )
      self.assertIs(f(obj), global_var_for_test_namespace_collisions)
  
imports: import threading
  import gast
  from tensorflow.python.autograph.pyct import transformer
  from tensorflow.python.autograph.pyct import transpiler
  from tensorflow.python.platform import test
label_desc: Use image node_id 12 for calling the PyToPyTest obj's underlying member method code with example usage: obj.test_namespace_collisions_avoided() and returns: global_var_for_test_namespace_collisions