Skip to content

Instantly share code, notes, and snippets.

@Jasha10
Last active October 2, 2024 23:45
Show Gist options
  • Save Jasha10/37c75e36b1521ba0c07906b473480faf to your computer and use it in GitHub Desktop.
Save Jasha10/37c75e36b1521ba0c07906b473480faf to your computer and use it in GitHub Desktop.
using breakpoint() with pytest -- don't capture stdout!
Running pytest, pdb and pdbpp will not work well unless you pass the -s flag to pytest to disable capture of stdout/stderr.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment