windows上跑的测试脚本中传的路径是“\xx\xxx\”右斜杠表示,到linux上就不能运行了,查了资料说可以用join连接就可以兼容了,也可以把右斜杠改为左斜杠 ymlpath="testcase/test_data.yml"