code: def test_gat():
      script = os.path.join(EXAMPLE_ROOT, "gat.py")
      out = subprocess.run(["python", str(script)], capture_output=True)
      assert (
          out.returncode == 0
      ), f"stdout: {out.stdout.decode('utf-8')}\nstderr: {out.stderr.decode('utf-8')}"
      stdout = out.stdout.decode("utf-8")
      assert float(stdout[-5:]) > 0.7
  
file_path: dgl/tests/examples/test_sparse_examples.py
imports: import os
  import subprocess
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: test_gat() without return types