code: def testImportInsideFunction(self):
      text = """
  def t():
    from c import d
    from foo import baz, a
    from e import y
  """
      expected_text = """
  def t():
    from c import d
    from foo import baz
    from bar import a
    from e import y
  """
      _, new_text = self._upgrade(RenameImports(), text)
      self.assertEqual(expected_text, new_text)
  
imports: import ast
  import io
  import os
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
  from tensorflow.tools.compatibility import ast_edits
label_desc: Use image node_id 20 for calling the TestAstEdits obj's underlying member method code with example usage: obj.testImportInsideFunction() without return types