错误: PytestCollectionWarning: cannot collect test class 'TestCaseLogin' because it has a __init__ constructor
修改方法:在.py文件中运行没有问题,使用pytest运行出现警告,原因是pytest中不能出现__init__方法
错误: PytestCollectionWarning: cannot collect test class 'TestCaseLogin' because it has a __init__ constructor
修改方法:在.py文件中运行没有问题,使用pytest运行出现警告,原因是pytest中不能出现__init__方法
本文标题:: PytestCollectionWarning: canno
本文链接:https://www.haomeiwen.com/subject/nvqvkltx.html
网友评论