[python]pytest reports an error when running pytest: error: unrecognized arguments: --reruns

When pytest xxx.py, an error will always be reported: pytest: error: unrecognized arguments: --reruns Even if you add the --reruns parameter, it will not work. Finally, I found that few modules only need

​pip install pytest-rerunfailures​​

Guess you like

Origin blog.csdn.net/FL1623863129/article/details/133460938