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
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