I\'m trying to debug some randomised unit tests and pytest is dropping me to a pdb prompt when a failing assertion is hit thanks to the --pdb flag.
pytest
--pdb