pytest succeed when tests failed code example Example: pytest run only failed test pytest --last-failed