ERROR: --reruns incompatible with --pdb in version 16.5 even if not setting --reruns
If pytest-rerunfailures is installed (version 16.5) then even if not using it via --reruns with pytest, I'll still get the error: --reruns incompatible with --pdb when using --pdb. To get around this, I have to either uninstall pytest-rerunfailures, or downgrade it to an earlier version if I want to use the --pdb functionality.
pytest SCRIPT.py --pdb is all you need to reproduce this.
ERROR: --reruns incompatible with --pdbin version 16.5 even if not setting--rerunsIf
pytest-rerunfailuresis installed (version 16.5) then even if not using it via--rerunswithpytest, I'll still get the error:--reruns incompatible with --pdbwhen using--pdb. To get around this, I have to either uninstallpytest-rerunfailures, or downgrade it to an earlier version if I want to use the--pdbfunctionality.pytest SCRIPT.py --pdbis all you need to reproduce this.