【报错内容】test_data.py: in “parametrize” the number of names (2): 【报错原因】 data.yaml文件中数据没有填写空格,导致执行失败。 这个- 后面和数字之前应该有空格 【解决方案】-和数字之间添加空格