code: def test_main(capsys, src, expected_out, expected_ret):
      ret = main(src, "t.py")
      out, _ = capsys.readouterr()
      assert out == expected_out
      assert ret == expected_ret
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_main(capsys, src, expected_out, expected_ret) without return types