code: def test_import_parsing(tmp_path, case):
      tmp_file_path = os.path.join(tmp_path, "test_file.py")
      with open(tmp_file_path, "w") as _tmp_file:
          _tmp_file.write(case)
  
      parsed_imports = get_imports(tmp_file_path)
      assert parsed_imports == ["os"]
  
imports: import os
  import pytest
  from transformers.dynamic_module_utils import get_imports
label_desc: Use image node_id 1 for calling a global function with example usage: test_import_parsing(tmp_path, case) without return types