When three tests out of six hundred fail, I do not want to wait for the other five hundred ninety-seven again.
python3 -m pytest --lf
python3 -m pytest --ff -x
--lf (--last-failed) runs only the tests that failed in the previous run, which pytest remembers in the .pytest_cache directory. --ff (--failed-first) runs the failures first and then everything else, and -x stops at the first failure. If nothing failed last time, --lf runs the whole suite. Add .pytest_cache to your .gitignore. Combine it with -q for compact output while you fix things one by one.
Further reading: pytest cache documentation