SyntaxError: unexpected EOF while parsing

在yml文件中运行该自定义的方法调用,运行后报错SyntaxError: unexpected EOF while parsing
-
  title: 轮询方法等待导出时间
  action: custom
  execute: pol_req(${hosts},"/gateway/query/async/export/custom/report","post",${entcode},{"reportId":"接口自动化导出","params":"{\"reportCode\":\"RD2205131LFRWMHB\",\"reportVersion\":3}","fileName":"接口自动化导出","exportType":"custom_report_charts_export"},40,1,{"$.success":True},workarea)
-

img

img

p1是pytest运行后的报错,括号和符号都是英文的,也都对应的,p2是py文件中的方法,在py文件中单独填上参数后运行是正常的
可以正常运行

你这P1和P2有什么联系,没看到有互相调用的关系呀
现在报错是读文件读到末尾了