[python]pytest运行报错pytest: error: unrecognized arguments: --reruns

pytest xxx.py时候怎么都是会报错:pytest: error: unrecognized arguments: --reruns即使你加--reruns参数也不行,最后发现原来少模块只需要

​pip install pytest-rerunfailures​​

你可能感兴趣的:(Python,python,pytest,开发语言)